#9874CD

Closest named color: Deep Lilac (#966EBD). oklch(63.1% 0.134 301.3), rgb(152, 116, 205).

Aa

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

About this color

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

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

Values

HEX#9874CD
RGBrgb(152, 116, 205)
HSLhsl(264, 47%, 63%)
OKLCHoklch(63.1% 0.134 301.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 #9874CD 3.67:1 AA large text Lc -69.7 Content text, not long reading
Black text on #9874CD 5.71:1 AA Lc 39.9 Non-text elements, placeholder text
#9874CD text on white 3.67:1 AA large text Lc 64.2 Content text, not long reading
#9874CD text on black 5.71:1 AA Lc -37.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

    #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)

    #9874CD

    oklch(63.1% 0.134 301.3)

  7. Step 600

    600

    #835BBA

    oklch(55.6% 0.146 301.2)

  8. Step 700

    700

    #6F4AA0

    oklch(49.1% 0.136 301.4)

  9. Step 800

    800

    #5A3D82

    oklch(42.6% 0.113 301.1)

  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

#9874CD 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)#5C85D00.088
Deuteranopia (no green cones)#6485CB0.082
Tritanopia (no blue cones)#8E83970.103
Achromatopsia (no color)#8585850.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #9874CD

    #9874CD

    oklch(63.1% 0.134 301.3)

  • #7D9529

    #7D9529

    oklch(63% 0.134 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9874CD

    #9874CD

    oklch(63.1% 0.134 301.3)

  • #6C83DA

    #6C83DA

    oklch(63.1% 0.134 271)

  • #B769AE

    #B769AE

    oklch(63.1% 0.133 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #9874CD

    #9874CD

    oklch(63.1% 0.134 301.3)

  • #A68500

    #A68500

    oklch(63% 0.129 91.2)

  • #3EA05E

    #3EA05E

    oklch(63.1% 0.135 151.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9874CD

    #9874CD

    oklch(63.1% 0.134 301.3)

  • #C27420

    #C27420

    oklch(63.1% 0.134 61.7)

  • #009F8E

    #009F8E

    oklch(63% 0.113 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9874CD

    #9874CD

    oklch(63.1% 0.134 301.3)

  • #CE6755

    #CE6755

    oklch(63.2% 0.134 31.4)

  • #7D9529

    #7D9529

    oklch(63% 0.134 121.4)

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

Similar named colors

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

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