#9852E6

Closest named color: Purpley (#8756E4). oklch(59.4% 0.215 301.9), rgb(152, 82, 230).

Aa

Black text reads best on this color (4.68:1).

About this color

#9852E6 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.215 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.030 away. Black text reads best on it, at 4.68:1.

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

Values

HEX#9852E6
RGBrgb(152, 82, 230)
HSLhsl(268, 75%, 61%)
OKLCHoklch(59.4% 0.215 301.9)

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 #9852E6 4.48:1 AA large text Lc -76.0 Fine for body text
Black text on #9852E6 4.68:1 AA Lc 33.6 Non-text elements, placeholder text
#9852E6 text on white 4.48:1 AA large text Lc 70.5 Content text, not long reading
#9852E6 text on black 4.68:1 AA Lc -31.2 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 500.

  1. Step 50

    50

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #E0D1FA

    oklch(88.6% 0.058 301.9)

  4. Step 300

    300

    #CDB1FA

    oklch(81% 0.105 301.7)

  5. Step 400

    400

    #B584F7

    oklch(70.8% 0.168 302)

  6. Step 500

    500 (this color)

    #9852E6

    oklch(59.4% 0.215 301.9)

  7. Step 600

    600

    #8F3DE2

    oklch(55.6% 0.234 301.7)

  8. Step 700

    700

    #7A2DC4

    oklch(49.1% 0.217 301.8)

  9. Step 800

    800

    #63289E

    oklch(42.7% 0.179 301.9)

  10. Step 900

    900

    #51277E

    oklch(37.7% 0.141 302.2)

  11. Step 950

    950

    #2F184A

    oklch(27% 0.09 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#9852E6 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)#0076EB0.163
Deuteranopia (no green cones)#1576E30.160
Tritanopia (no blue cones)#8873950.160
Achromatopsia (no color)#7777770.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #9852E6

    #9852E6

    oklch(59.4% 0.215 301.9)

  • #718B00

    #718B00

    oklch(59.5% 0.144 121.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9852E6

    #9852E6

    oklch(59.4% 0.215 301.9)

  • #566BFC

    #566BFC

    oklch(59.5% 0.215 271.9)

  • #C23CB6

    #C23CB6

    oklch(59.4% 0.215 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #9852E6

    #9852E6

    oklch(59.4% 0.215 301.9)

  • #987B00

    #987B00

    oklch(59.3% 0.121 92.2)

  • #00974C

    #00974C

    oklch(59.2% 0.156 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9852E6

    #9852E6

    oklch(59.4% 0.215 301.9)

  • #B76800

    #B76800

    oklch(59.4% 0.137 61.7)

  • #009383

    #009383

    oklch(59.5% 0.107 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9852E6

    #9852E6

    oklch(59.4% 0.215 301.9)

  • #E23113

    #E23113

    oklch(59.4% 0.216 31.9)

  • #718B00

    #718B00

    oklch(59.5% 0.144 121.9)

  • #008EA2

    #008EA2

    oklch(59.4% 0.103 212)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9852E6.

Similar named colors

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

Use #9852E6 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.