#9868D7

Closest named color: Medium Purple (#9370DB). oklch(61.6% 0.166 301.7), rgb(152, 104, 215).

Aa

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

About this color

#9868D7 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.166 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.020 away. Black text reads best on it, at 5.29:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.166)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.29:1
White text3.96:1

Values

HEX#9868D7
RGBrgb(152, 104, 215)
HSLhsl(266, 58%, 63%)
OKLCHoklch(61.6% 0.166 301.7)

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 #9868D7 3.96:1 AA large text Lc -72.2 Content text, not long reading
Black text on #9868D7 5.29:1 AA Lc 37.3 Non-text elements, placeholder text
#9868D7 text on white 3.96:1 AA large text Lc 66.7 Content text, not long reading
#9868D7 text on black 5.29:1 AA Lc -34.9 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #ECE6F7

    oklch(93.5% 0.024 301.9)

  3. Step 200

    200

    #DED3F3

    oklch(88.6% 0.045 301.1)

  4. Step 300

    300

    #CAB5ED

    oklch(81% 0.081 301.8)

  5. Step 400

    400

    #AF8CE4

    oklch(70.7% 0.13 301.5)

  6. Step 500

    500 (this color)

    #9868D7

    oklch(61.6% 0.166 301.7)

  7. Step 600

    600

    #8851C9

    oklch(55.5% 0.181 301.9)

  8. Step 700

    700

    #7341AE

    oklch(49% 0.168 301.6)

  9. Step 800

    800

    #5E368D

    oklch(42.6% 0.14 302)

  10. Step 900

    900

    #4D3071

    oklch(37.7% 0.109 302)

  11. Step 950

    950

    #2D1D42

    oklch(27.1% 0.068 302)

Export this scale for Tailwind in the Tailwind colors tool

#9868D7 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)#427FDB0.119
Deuteranopia (no green cones)#507FD40.109
Tritanopia (no blue cones)#8C7D960.126
Achromatopsia (no color)#8080800.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #9868D7

    #9868D7

    oklch(61.6% 0.166 301.7)

  • #779200

    #779200

    oklch(61.7% 0.149 121.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9868D7

    #9868D7

    oklch(61.6% 0.166 301.7)

  • #637AE8

    #637AE8

    oklch(61.6% 0.167 271.8)

  • #BC59B1

    #BC59B1

    oklch(61.6% 0.167 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #9868D7

    #9868D7

    oklch(61.6% 0.166 301.7)

  • #A18100

    #A18100

    oklch(61.6% 0.126 91.2)

  • #009F4F

    #009F4F

    oklch(61.5% 0.163 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9868D7

    #9868D7

    oklch(61.6% 0.166 301.7)

  • #C06E00

    #C06E00

    oklch(61.7% 0.142 62)

  • #009A8A

    #009A8A

    oklch(61.6% 0.11 182.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9868D7

    #9868D7

    oklch(61.6% 0.166 301.7)

  • #D65640

    #D65640

    oklch(61.6% 0.166 31.9)

  • #779200

    #779200

    oklch(61.7% 0.149 121.8)

  • #0096AA

    #0096AA

    oklch(61.7% 0.107 211.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9868D7.

Similar named colors

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

Use #9868D7 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.