#9870BF

Closest named color: Deep Lilac (#966EBD). oklch(61.7% 0.123 306.4), rgb(152, 112, 191).

Aa

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

About this color

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

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

Values

HEX#9870BF
RGBrgb(152, 112, 191)
HSLhsl(270, 38%, 59%)
OKLCHoklch(61.7% 0.123 306.4)

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 #9870BF 3.88:1 AA large text Lc -71.7 Content text, not long reading
Black text on #9870BF 5.40:1 AA Lc 37.9 Non-text elements, placeholder text
#9870BF text on white 3.88:1 AA large text Lc 66.2 Content text, not long reading
#9870BF text on black 5.40: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

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #DFD4EB

    oklch(88.6% 0.033 307.1)

  4. Step 300

    300

    #CAB7E0

    oklch(80.9% 0.06 306.1)

  5. Step 400

    400

    #B091D0

    oklch(70.8% 0.096 306.6)

  6. Step 500

    500 (this color)

    #9870BF

    oklch(61.7% 0.123 306.4)

  7. Step 600

    600

    #875CB0

    oklch(55.6% 0.133 306.2)

  8. Step 700

    700

    #734B97

    oklch(49.1% 0.124 306.7)

  9. Step 800

    800

    #5D3E7B

    oklch(42.7% 0.103 306)

  10. Step 900

    900

    #4C3563

    oklch(37.6% 0.081 305.9)

  11. Step 950

    950

    #2D1F3A

    oklch(27% 0.052 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#9870BF 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)#5E80C20.088
Deuteranopia (no green cones)#6782BD0.082
Tritanopia (no blue cones)#927C8E0.091
Achromatopsia (no color)#8181810.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #9870BF

    #9870BF

    oklch(61.7% 0.123 306.4)

  • #729239

    #729239

    oklch(61.6% 0.123 126.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9870BF

    #9870BF

    oklch(61.7% 0.123 306.4)

  • #727DCE

    #727DCE

    oklch(61.6% 0.123 276.3)

  • #B366A1

    #B366A1

    oklch(61.6% 0.124 336.3)

Open the analogous palette in the generator

Split complementary

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

  • #9870BF

    #9870BF

    oklch(61.7% 0.123 306.4)

  • #9B8410

    #9B8410

    oklch(61.6% 0.123 96.3)

  • #379B66

    #379B66

    oklch(61.7% 0.123 156.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9870BF

    #9870BF

    oklch(61.7% 0.123 306.4)

  • #B67423

    #B67423

    oklch(61.6% 0.123 66.3)

  • #009A8F

    #009A8F

    oklch(61.7% 0.108 186)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9870BF

    #9870BF

    oklch(61.7% 0.123 306.4)

  • #C3684E

    #C3684E

    oklch(61.7% 0.123 36.8)

  • #729239

    #729239

    oklch(61.6% 0.123 126.4)

  • #0095AF

    #0095AF

    oklch(61.7% 0.11 215.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9870BF 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.