#9F6DBD

Closest named color: Deep Lilac (#966EBD). oklch(61.8% 0.128 311.9), rgb(159, 109, 189).

Aa

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

About this color

#9F6DBD is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.128 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.015 away. Black text reads best on it, at 5.39:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.39:1
White text3.89:1

Values

HEX#9F6DBD
RGBrgb(159, 109, 189)
HSLhsl(278, 38%, 58%)
OKLCHoklch(61.8% 0.128 311.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 #9F6DBD 3.89:1 AA large text Lc -71.7 Content text, not long reading
Black text on #9F6DBD 5.39:1 AA Lc 37.9 Non-text elements, placeholder text
#9F6DBD text on white 3.89:1 AA large text Lc 66.2 Content text, not long reading
#9F6DBD text on black 5.39:1 AA Lc -35.5 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE7F3

    oklch(93.7% 0.018 311.6)

  3. Step 200

    200

    #E1D3EA

    oklch(88.5% 0.035 312.4)

  4. Step 300

    300

    #CEB6DF

    oklch(81% 0.062 311.2)

  5. Step 400

    400

    #B58ECE

    oklch(70.6% 0.1 311.7)

  6. Step 500

    500 (this color)

    #9F6DBD

    oklch(61.8% 0.128 311.9)

  7. Step 600

    600

    #8E58AE

    oklch(55.6% 0.139 311.6)

  8. Step 700

    700

    #794795

    oklch(49% 0.13 312.1)

  9. Step 800

    800

    #623B79

    oklch(42.6% 0.107 311.7)

  10. Step 900

    900

    #503361

    oklch(37.6% 0.083 312)

  11. Step 950

    950

    #2F1E39

    oklch(26.9% 0.053 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#9F6DBD 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)#5D7FC00.102
Deuteranopia (no green cones)#6A82BB0.092
Tritanopia (no blue cones)#9C798C0.090
Achromatopsia (no color)#8181810.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F6DBD

    #9F6DBD

    oklch(61.8% 0.128 311.9)

  • #68953D

    #68953D

    oklch(61.8% 0.128 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F6DBD

    #9F6DBD

    oklch(61.8% 0.128 311.9)

  • #7A7AD0

    #7A7AD0

    oklch(61.8% 0.128 282)

  • #B9649B

    #B9649B

    oklch(61.8% 0.128 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #9F6DBD

    #9F6DBD

    oklch(61.8% 0.128 311.9)

  • #958704

    #958704

    oklch(61.7% 0.128 102)

  • #1D9D6D

    #1D9D6D

    oklch(61.8% 0.129 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F6DBD

    #9F6DBD

    oklch(61.8% 0.128 311.9)

  • #B47710

    #B47710

    oklch(61.8% 0.128 72.3)

  • #009996

    #009996

    oklch(61.7% 0.106 192.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F6DBD

    #9F6DBD

    oklch(61.8% 0.128 311.9)

  • #C46843

    #C46843

    oklch(61.7% 0.128 42)

  • #68953D

    #68953D

    oklch(61.8% 0.128 131.8)

  • #0094B6

    #0094B6

    oklch(61.8% 0.114 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9F6DBD 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.