#9851DE

Closest named color: Purpley (#8756E4). oklch(58.7% 0.208 303.8), rgb(152, 81, 222).

Aa

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

About this color

#9851DE is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.208 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.032 away. White text reads best on it, at 4.59:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.208)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.56:1
White text4.59:1

Values

HEX#9851DE
RGBrgb(152, 81, 222)
HSLhsl(270, 68%, 59%)
OKLCHoklch(58.7% 0.208 303.8)

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 #9851DE 4.59:1 AA Lc -76.8 Fine for body text
Black text on #9851DE 4.56:1 AA Lc 32.7 Non-text elements, placeholder text
#9851DE text on white 4.59:1 AA Lc 71.4 Content text, not long reading
#9851DE text on black 4.56:1 AA Lc -30.3 Non-text elements, placeholder text

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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #E0D1F6

    oklch(88.4% 0.053 303.7)

  4. Step 300

    300

    #CDB2F2

    oklch(80.9% 0.093 303.7)

  5. Step 400

    400

    #B587EC

    oklch(70.8% 0.15 303.8)

  6. Step 500

    500

    #A365E6

    oklch(63.2% 0.191 303.6)

  7. Step 600

    600 (this color)

    #9851DE

    oklch(58.7% 0.208 303.8)

  8. Step 700

    700

    #7937B7

    oklch(49.1% 0.193 303.6)

  9. Step 800

    800

    #632F94

    oklch(42.7% 0.159 304)

  10. Step 900

    900

    #502B76

    oklch(37.6% 0.125 303.7)

  11. Step 950

    950

    #2F1A45

    oklch(26.9% 0.079 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#9851DE 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)#0074E20.165
Deuteranopia (no green cones)#2675DB0.156
Tritanopia (no blue cones)#8B6F900.152
Achromatopsia (no color)#7575750.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #9851DE

    #9851DE

    oklch(58.7% 0.208 303.8)

  • #6B8A00

    #6B8A00

    oklch(58.8% 0.146 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9851DE

    #9851DE

    oklch(58.7% 0.208 303.8)

  • #5A68F5

    #5A68F5

    oklch(58.6% 0.209 273.7)

  • #C03CAE

    #C03CAE

    oklch(58.7% 0.208 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #9851DE

    #9851DE

    oklch(58.7% 0.208 303.8)

  • #947A00

    #947A00

    oklch(58.7% 0.12 93.9)

  • #009551

    #009551

    oklch(58.8% 0.149 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9851DE

    #9851DE

    oklch(58.7% 0.208 303.8)

  • #B26800

    #B26800

    oklch(58.7% 0.133 63.7)

  • #009083

    #009083

    oklch(58.7% 0.104 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9851DE

    #9851DE

    oklch(58.7% 0.208 303.8)

  • #DC360A

    #DC360A

    oklch(58.7% 0.207 33.8)

  • #6B8A00

    #6B8A00

    oklch(58.8% 0.146 123.9)

  • #008CA1

    #008CA1

    oklch(58.8% 0.103 213)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9851DE.

Similar named colors

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

Use #9851DE 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.