#9B71CB

Closest named color: Deep Lilac (#966EBD). oklch(62.7% 0.137 304.3), rgb(155, 113, 203).

Aa

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

About this color

#9B71CB is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.137 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.023 away. Black text reads best on it, at 5.61:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.61:1
White text3.73:1

Values

HEX#9B71CB
RGBrgb(155, 113, 203)
HSLhsl(268, 46%, 62%)
OKLCHoklch(62.7% 0.137 304.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 #9B71CB 3.73:1 AA large text Lc -70.3 Content text, not long reading
Black text on #9B71CB 5.61:1 AA Lc 39.3 Non-text elements, placeholder text
#9B71CB text on white 3.73:1 AA large text Lc 64.8 Content text, not long reading
#9B71CB text on black 5.61:1 AA Lc -36.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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DED3EE

    oklch(88.4% 0.038 304)

  4. Step 300

    300

    #CAB6E4

    oklch(80.8% 0.067 304.7)

  5. Step 400

    400

    #AF8FD7

    oklch(70.6% 0.108 304.2)

  6. Step 500

    500 (this color)

    #9B71CB

    oklch(62.7% 0.137 304.3)

  7. Step 600

    600

    #8759B9

    oklch(55.6% 0.149 304.1)

  8. Step 700

    700

    #73489F

    oklch(49.1% 0.139 304.6)

  9. Step 800

    800

    #5D3C81

    oklch(42.7% 0.114 304.1)

  10. Step 900

    900

    #4C3468

    oklch(37.7% 0.09 303.7)

  11. Step 950

    950

    #2D1F3D

    oklch(27.1% 0.057 304.4)

Export this scale for Tailwind in the Tailwind colors tool

#9B71CB 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)#5A83CE0.096
Deuteranopia (no green cones)#6484C90.089
Tritanopia (no blue cones)#9380940.104
Achromatopsia (no color)#8484840.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B71CB

    #9B71CB

    oklch(62.7% 0.137 304.3)

  • #779629

    #779629

    oklch(62.8% 0.138 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B71CB

    #9B71CB

    oklch(62.7% 0.137 304.3)

  • #7080DB

    #7080DB

    oklch(62.8% 0.138 274.2)

  • #B966AA

    #B966AA

    oklch(62.8% 0.137 334.1)

Open the analogous palette in the generator

Split complementary

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

  • #9B71CB

    #9B71CB

    oklch(62.7% 0.137 304.3)

  • #A28600

    #A28600

    oklch(62.8% 0.129 94.1)

  • #30A061

    #30A061

    oklch(62.8% 0.138 154.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B71CB

    #9B71CB

    oklch(62.7% 0.137 304.3)

  • #C07410

    #C07410

    oklch(62.8% 0.137 64.7)

  • #009E90

    #009E90

    oklch(62.8% 0.111 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B71CB

    #9B71CB

    oklch(62.7% 0.137 304.3)

  • #CD654D

    #CD654D

    oklch(62.6% 0.137 34.2)

  • #779629

    #779629

    oklch(62.8% 0.138 124.3)

  • #0099B1

    #0099B1

    oklch(62.8% 0.11 214)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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