#9873CC

Closest named color: Deep Lilac (#966EBD). oklch(62.9% 0.135 301.8), rgb(152, 115, 204).

Aa

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

About this color

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

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

Values

HEX#9873CC
RGBrgb(152, 115, 204)
HSLhsl(265, 47%, 63%)
OKLCHoklch(62.9% 0.135 301.8)

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 #9873CC 3.71:1 AA large text Lc -70.0 Content text, not long reading
Black text on #9873CC 5.65:1 AA Lc 39.5 Non-text elements, placeholder text
#9873CC text on white 3.71:1 AA large text Lc 64.5 Content text, not long reading
#9873CC text on black 5.65:1 AA Lc -37.1 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DDD4EE

    oklch(88.5% 0.037 301.4)

  4. Step 300

    300

    #C8B7E5

    oklch(80.9% 0.066 301.8)

  5. Step 400

    400

    #AD91D8

    oklch(70.8% 0.105 301.9)

  6. Step 500

    500 (this color)

    #9873CC

    oklch(62.9% 0.135 301.8)

  7. Step 600

    600

    #845BBA

    oklch(55.7% 0.146 301.8)

  8. Step 700

    700

    #704AA0

    oklch(49.2% 0.136 302)

  9. Step 800

    800

    #5B3D82

    oklch(42.7% 0.113 301.9)

  10. Step 900

    900

    #4A3568

    oklch(37.7% 0.087 301.3)

  11. Step 950

    950

    #2B1F3D

    oklch(26.9% 0.056 301.2)

Export this scale for Tailwind in the Tailwind colors tool

#9873CC 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)#5B84CF0.090
Deuteranopia (no green cones)#6384CA0.083
Tritanopia (no blue cones)#8F82960.103
Achromatopsia (no color)#8585850.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #9873CC

    #9873CC

    oklch(62.9% 0.135 301.8)

  • #7C9528

    #7C9528

    oklch(62.9% 0.135 121.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9873CC

    #9873CC

    oklch(62.9% 0.135 301.8)

  • #6C82DA

    #6C82DA

    oklch(62.9% 0.135 271.5)

  • #B768AD

    #B768AD

    oklch(62.9% 0.134 331.8)

Open the analogous palette in the generator

Split complementary

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

  • #9873CC

    #9873CC

    oklch(62.9% 0.135 301.8)

  • #A58500

    #A58500

    oklch(62.9% 0.129 91.7)

  • #3C9F5E

    #3C9F5E

    oklch(62.8% 0.134 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9873CC

    #9873CC

    oklch(62.9% 0.135 301.8)

  • #C1731D

    #C1731D

    oklch(62.8% 0.134 61.9)

  • #009E8E

    #009E8E

    oklch(62.8% 0.112 182.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9873CC

    #9873CC

    oklch(62.9% 0.135 301.8)

  • #CD6653

    #CD6653

    oklch(62.9% 0.135 31.9)

  • #7C9528

    #7C9528

    oklch(62.9% 0.135 121.8)

  • #009AAF

    #009AAF

    oklch(63% 0.11 211.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9873CC 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.