#902DF2

Closest named color: Blue Violet (#8A2BE2). oklch(55.6% 0.264 300.1), rgb(144, 45, 242).

Aa

White text reads best on this color (5.46:1).

About this color

#902DF2 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.264 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Blue Violet (#8A2BE2), ΔE 0.027 away. White text reads best on it, at 5.46:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.264)
Temperaturein between
Nearest nameBlue Violet (#8A2BE2)
Black text3.84:1
White text5.46:1

Values

HEX#902DF2
RGBrgb(144, 45, 242)
HSLhsl(270, 88%, 56%)
OKLCHoklch(55.6% 0.264 300.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #902DF2 5.46:1 AA Lc -81.2 Fine for body text
Black text on #902DF2 3.84:1 AA large text Lc 28.2 Dividers and decoration only
#902DF2 text on white 5.46:1 AA Lc 75.9 Fine for body text
#902DF2 text on black 3.84:1 AA large text Lc -25.9 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EDE5FE

    oklch(93.6% 0.035 300.3)

  3. Step 200

    200

    #DFD0FF

    oklch(88.5% 0.066 299.6)

  4. Step 300

    300

    #CCB0FF

    oklch(80.9% 0.113 300.2)

  5. Step 400

    400

    #B382FF

    oklch(70.7% 0.18 299.9)

  6. Step 500

    500

    #A359FF

    oklch(63.2% 0.235 300.2)

  7. Step 600

    600 (this color)

    #902DF2

    oklch(55.6% 0.264 300.1)

  8. Step 700

    700

    #7B1AD3

    oklch(49.1% 0.246 300.1)

  9. Step 800

    800

    #641CAA

    oklch(42.7% 0.203 300.3)

  10. Step 900

    900

    #512187

    oklch(37.7% 0.159 300.2)

  11. Step 950

    950

    #2F164F

    oklch(27.1% 0.1 299.9)

Export this scale for Tailwind in the Tailwind colors tool

#902DF2 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0069F70.173
Deuteranopia (no green cones)#0068EE0.174
Tritanopia (no blue cones)#7866920.195
Achromatopsia (no color)#6969690.267

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #902DF2

    #902DF2

    oklch(55.6% 0.264 300.1)

  • #6A7E00

    #6A7E00

    oklch(55.7% 0.132 120.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #902DF2

    #902DF2

    oklch(55.6% 0.264 300.1)

  • #4359FF

    #4359FF

    oklch(55.7% 0.244 270.2)

  • #BD00B7

    #BD00B7

    oklch(55.7% 0.254 330.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #902DF2

    #902DF2

    oklch(55.6% 0.264 300.1)

  • #8D6F00

    #8D6F00

    oklch(55.5% 0.113 89.9)

  • #008B3F

    #008B3F

    oklch(55.7% 0.153 150.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #902DF2

    #902DF2

    oklch(55.6% 0.264 300.1)

  • #A95D00

    #A95D00

    oklch(55.5% 0.13 59.8)

  • #008676

    #008676

    oklch(55.6% 0.1 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #902DF2

    #902DF2

    oklch(55.6% 0.264 300.1)

  • #D71100

    #D71100

    oklch(55.6% 0.223 30.1)

  • #6A7E00

    #6A7E00

    oklch(55.7% 0.132 120.1)

  • #008292

    #008292

    oklch(55.6% 0.096 209.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #902DF2, closest first.

No curated palette has a color within ΔE 0.04 of #902DF2.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #902DF2 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.