#9871D0

Closest named color: Medium Purple (#9370DB). oklch(62.7% 0.143 301.3), rgb(152, 113, 208).

Aa

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

About this color

#9871D0 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.143 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.019 away. Black text reads best on it, at 5.60:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.143)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.60:1
White text3.74:1

Values

HEX#9871D0
RGBrgb(152, 113, 208)
HSLhsl(265, 50%, 63%)
OKLCHoklch(62.7% 0.143 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 #9871D0 3.74:1 AA large text Lc -70.3 Content text, not long reading
Black text on #9871D0 5.60:1 AA Lc 39.2 Non-text elements, placeholder text
#9871D0 text on white 3.74:1 AA large text Lc 64.8 Content text, not long reading
#9871D0 text on black 5.60:1 AA Lc -36.8 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

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DDD4EF

    oklch(88.5% 0.038 300.8)

  4. Step 300

    300

    #C8B7E7

    oklch(81% 0.069 301.1)

  5. Step 400

    400

    #AD90DB

    oklch(70.8% 0.111 301.4)

  6. Step 500

    500 (this color)

    #9871D0

    oklch(62.7% 0.143 301.3)

  7. Step 600

    600

    #8459BE

    oklch(55.6% 0.154 301.2)

  8. Step 700

    700

    #7048A4

    oklch(49.1% 0.144 301.3)

  9. Step 800

    800

    #5B3C85

    oklch(42.7% 0.119 301.1)

  10. Step 900

    900

    #4B346B

    oklch(37.8% 0.094 301.4)

  11. Step 950

    950

    #2C1F3E

    oklch(27.1% 0.058 302)

Export this scale for Tailwind in the Tailwind colors tool

#9871D0 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)#5683D30.096
Deuteranopia (no green cones)#5F84CE0.089
Tritanopia (no blue cones)#8E82970.110
Achromatopsia (no color)#8484840.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #9871D0

    #9871D0

    oklch(62.7% 0.143 301.3)

  • #7B9519

    #7B9519

    oklch(62.8% 0.144 121.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9871D0

    #9871D0

    oklch(62.7% 0.143 301.3)

  • #6A81DE

    #6A81DE

    oklch(62.8% 0.142 271.3)

  • #B965AF

    #B965AF

    oklch(62.8% 0.143 331.6)

Open the analogous palette in the generator

Split complementary

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

  • #9871D0

    #9871D0

    oklch(62.7% 0.143 301.3)

  • #A58400

    #A58400

    oklch(62.7% 0.128 91)

  • #34A05A

    #34A05A

    oklch(62.7% 0.143 151.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9871D0

    #9871D0

    oklch(62.7% 0.143 301.3)

  • #C47108

    #C47108

    oklch(62.8% 0.143 61.8)

  • #009E8D

    #009E8D

    oklch(62.7% 0.113 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9871D0

    #9871D0

    oklch(62.7% 0.143 301.3)

  • #D06250

    #D06250

    oklch(62.6% 0.143 31)

  • #7B9519

    #7B9519

    oklch(62.8% 0.144 121.6)

  • #0099AE

    #0099AE

    oklch(62.7% 0.109 211.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9871D0 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.