#9852E2

Closest named color: Purpley (#8756E4). oklch(59.1% 0.211 302.8), rgb(152, 82, 226).

Aa

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

About this color

#9852E2 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.211 and its hue 303°. 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.64:1.

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

Values

HEX#9852E2
RGBrgb(152, 82, 226)
HSLhsl(269, 71%, 60%)
OKLCHoklch(59.1% 0.211 302.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 #9852E2 4.52:1 AA Lc -76.3 Fine for body text
Black text on #9852E2 4.64:1 AA Lc 33.2 Non-text elements, placeholder text
#9852E2 text on white 4.52:1 AA Lc 70.8 Content text, not long reading
#9852E2 text on black 4.64:1 AA Lc -30.8 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

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #E0D1F7

    oklch(88.5% 0.054 303.2)

  4. Step 300

    300

    #CCB2F4

    oklch(80.9% 0.095 302.4)

  5. Step 400

    400

    #B487EE

    oklch(70.8% 0.152 302.9)

  6. Step 500

    500

    #A264E8

    oklch(63.1% 0.194 302.9)

  7. Step 600

    600 (this color)

    #9852E2

    oklch(59.1% 0.211 302.8)

  8. Step 700

    700

    #7836B9

    oklch(49% 0.196 302.7)

  9. Step 800

    800

    #622E96

    oklch(42.6% 0.163 303)

  10. Step 900

    900

    #502B78

    oklch(37.8% 0.127 302.9)

  11. Step 950

    950

    #2F1A46

    oklch(27% 0.081 303.5)

Export this scale for Tailwind in the Tailwind colors tool

#9852E2 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)#0075E60.163
Deuteranopia (no green cones)#2076DF0.157
Tritanopia (no blue cones)#8971930.155
Achromatopsia (no color)#7676760.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #9852E2

    #9852E2

    oklch(59.1% 0.211 302.8)

  • #6E8A00

    #6E8A00

    oklch(59% 0.144 122.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9852E2

    #9852E2

    oklch(59.1% 0.211 302.8)

  • #586AF8

    #586AF8

    oklch(59.1% 0.211 272.7)

  • #C13DB2

    #C13DB2

    oklch(59.1% 0.21 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #9852E2

    #9852E2

    oklch(59.1% 0.211 302.8)

  • #977B00

    #977B00

    oklch(59.2% 0.121 92.8)

  • #00964E

    #00964E

    oklch(59% 0.153 152.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9852E2

    #9852E2

    oklch(59.1% 0.211 302.8)

  • #B56800

    #B56800

    oklch(59.1% 0.136 62.5)

  • #009283

    #009283

    oklch(59.2% 0.106 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9852E2

    #9852E2

    oklch(59.1% 0.211 302.8)

  • #DF3411

    #DF3411

    oklch(59.1% 0.211 32.7)

  • #6E8A00

    #6E8A00

    oklch(59% 0.144 122.8)

  • #008DA2

    #008DA2

    oklch(59.1% 0.103 212.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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