#9852CB

Closest named color: Amethyst (#9B5FC0). oklch(57.6% 0.185 308.3), rgb(152, 82, 203).

Aa

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

About this color

#9852CB is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.185 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.036 away. White text reads best on it, at 4.76:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.185)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.40:1
White text4.76:1

Values

HEX#9852CB
RGBrgb(152, 82, 203)
HSLhsl(275, 54%, 56%)
OKLCHoklch(57.6% 0.185 308.3)

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 #9852CB 4.76:1 AA Lc -78.1 Fine for body text
Black text on #9852CB 4.40:1 AA large text Lc 31.5 Non-text elements, placeholder text
#9852CB text on white 4.76:1 AA Lc 72.6 Content text, not long reading
#9852CB text on black 4.40:1 AA large text Lc -29.1 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E2D1F1

    oklch(88.4% 0.047 309.2)

  4. Step 300

    300

    #D0B2EA

    oklch(80.8% 0.084 308.9)

  5. Step 400

    400

    #B888E0

    oklch(70.6% 0.134 308.4)

  6. Step 500

    500

    #A768D7

    oklch(63.2% 0.17 308.5)

  7. Step 600

    600 (this color)

    #9852CB

    oklch(57.6% 0.185 308.3)

  8. Step 700

    700

    #7C3CAA

    oklch(49.1% 0.173 308)

  9. Step 800

    800

    #653289

    oklch(42.6% 0.143 308.5)

  10. Step 900

    900

    #522D6E

    oklch(37.6% 0.112 308.2)

  11. Step 950

    950

    #301B40

    oklch(26.9% 0.07 308.6)

Export this scale for Tailwind in the Tailwind colors tool

#9852CB 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)#2070CF0.158
Deuteranopia (no green cones)#4073C80.140
Tritanopia (no blue cones)#9069870.130
Achromatopsia (no color)#7373730.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #9852CB

    #9852CB

    oklch(57.6% 0.185 308.3)

  • #5E8900

    #5E8900

    oklch(57.7% 0.152 128.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9852CB

    #9852CB

    oklch(57.6% 0.185 308.3)

  • #6466E3

    #6466E3

    oklch(57.6% 0.185 278.2)

  • #BA429E

    #BA429E

    oklch(57.6% 0.185 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #9852CB

    #9852CB

    oklch(57.6% 0.185 308.3)

  • #8C7900

    #8C7900

    oklch(57.6% 0.119 98.2)

  • #00905A

    #00905A

    oklch(57.6% 0.134 158.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9852CB

    #9852CB

    oklch(57.6% 0.185 308.3)

  • #A96800

    #A96800

    oklch(57.5% 0.126 67.8)

  • #008C84

    #008C84

    oklch(57.7% 0.1 187.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9852CB

    #9852CB

    oklch(57.6% 0.185 308.3)

  • #CE4304

    #CE4304

    oklch(57.6% 0.185 38.5)

  • #5E8900

    #5E8900

    oklch(57.7% 0.152 128.4)

  • #0087A2

    #0087A2

    oklch(57.6% 0.104 218.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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