#9873CD

Closest named color: Deep Lilac (#966EBD). oklch(62.9% 0.136 301.6), rgb(152, 115, 205).

Aa

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

About this color

#9873CD is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.136 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.025 away. Black text reads best on it, at 5.66:1.

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

Values

HEX#9873CD
RGBrgb(152, 115, 205)
HSLhsl(265, 47%, 63%)
OKLCHoklch(62.9% 0.136 301.6)

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 #9873CD 3.70:1 AA large text Lc -70.0 Content text, not long reading
Black text on #9873CD 5.66:1 AA Lc 39.6 Non-text elements, placeholder text
#9873CD text on white 3.70:1 AA large text Lc 64.5 Content text, not long reading
#9873CD text on black 5.66:1 AA Lc -37.2 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

    #AC91D8

    oklch(70.7% 0.105 301.2)

  6. Step 500

    500 (this color)

    #9873CD

    oklch(62.9% 0.136 301.6)

  7. Step 600

    600

    #845ABA

    oklch(55.6% 0.148 302)

  8. Step 700

    700

    #6F4AA1

    oklch(49.1% 0.137 301.1)

  9. Step 800

    800

    #5B3D82

    oklch(42.7% 0.113 301.9)

  10. Step 900

    900

    #4A3569

    oklch(37.8% 0.089 300.9)

  11. Step 950

    950

    #2B1F3D

    oklch(26.9% 0.056 301.2)

Export this scale for Tailwind in the Tailwind colors tool

#9873CD 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)#5A84D00.091
Deuteranopia (no green cones)#6384CB0.083
Tritanopia (no blue cones)#8E82960.104
Achromatopsia (no color)#8585850.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #9873CD

    #9873CD

    oklch(62.9% 0.136 301.6)

  • #7C9526

    #7C9526

    oklch(62.9% 0.136 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9873CD

    #9873CD

    oklch(62.9% 0.136 301.6)

  • #6C82DB

    #6C82DB

    oklch(63% 0.136 271.5)

  • #B767AE

    #B767AE

    oklch(62.8% 0.137 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #9873CD

    #9873CD

    oklch(62.9% 0.136 301.6)

  • #A58500

    #A58500

    oklch(62.9% 0.129 91.7)

  • #3BA05D

    #3BA05D

    oklch(63% 0.137 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9873CD

    #9873CD

    oklch(62.9% 0.136 301.6)

  • #C2731C

    #C2731C

    oklch(62.9% 0.136 61.7)

  • #009F8D

    #009F8D

    oklch(63% 0.114 181)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9873CD

    #9873CD

    oklch(62.9% 0.136 301.6)

  • #CE6653

    #CE6653

    oklch(63% 0.136 31.8)

  • #7C9526

    #7C9526

    oklch(62.9% 0.136 121.7)

  • #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 #9873CD, closest first.

Similar named colors

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

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