#9870D5

Closest named color: Medium Purple (#9370DB). oklch(62.8% 0.151 300.4), rgb(152, 112, 213).

Aa

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

About this color

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

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

Values

HEX#9870D5
RGBrgb(152, 112, 213)
HSLhsl(264, 55%, 64%)
OKLCHoklch(62.8% 0.151 300.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 #9870D5 3.74:1 AA large text Lc -70.3 Content text, not long reading
Black text on #9870D5 5.61:1 AA Lc 39.3 Non-text elements, placeholder text
#9870D5 text on white 3.74:1 AA large text Lc 64.8 Content text, not long reading
#9870D5 text on black 5.61:1 AA Lc -36.9 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

    #DDD3F1

    oklch(88.4% 0.042 300.7)

  4. Step 300

    300

    #C8B6EA

    oklch(80.9% 0.075 300.6)

  5. Step 400

    400

    #AC8FDF

    oklch(70.7% 0.118 300.1)

  6. Step 500

    500 (this color)

    #9870D5

    oklch(62.8% 0.151 300.4)

  7. Step 600

    600

    #8457C3

    oklch(55.6% 0.164 300.4)

  8. Step 700

    700

    #7046A9

    oklch(49.1% 0.154 300.4)

  9. Step 800

    800

    #5B3A88

    oklch(42.6% 0.126 300.7)

  10. Step 900

    900

    #4A336D

    oklch(37.6% 0.098 300)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#9870D5 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)#5184D90.102
Deuteranopia (no green cones)#5A83D20.094
Tritanopia (no blue cones)#8C82980.117
Achromatopsia (no color)#8484840.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #9870D5

    #9870D5

    oklch(62.8% 0.151 300.4)

  • #7D9500

    #7D9500

    oklch(62.9% 0.15 120.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9870D5

    #9870D5

    oklch(62.8% 0.151 300.4)

  • #6681E3

    #6681E3

    oklch(62.9% 0.15 270)

  • #BA63B3

    #BA63B3

    oklch(62.8% 0.15 330.2)

Open the analogous palette in the generator

Split complementary

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

  • #9870D5

    #9870D5

    oklch(62.8% 0.151 300.4)

  • #A68400

    #A68400

    oklch(62.8% 0.128 90.5)

  • #2EA155

    #2EA155

    oklch(62.8% 0.151 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9870D5

    #9870D5

    oklch(62.8% 0.151 300.4)

  • #C76F00

    #C76F00

    oklch(62.8% 0.147 60.1)

  • #009F8C

    #009F8C

    oklch(63% 0.114 180.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9870D5

    #9870D5

    oklch(62.8% 0.151 300.4)

  • #D45F4E

    #D45F4E

    oklch(62.7% 0.151 30.3)

  • #7D9500

    #7D9500

    oklch(62.9% 0.15 120.4)

  • #009AAD

    #009AAD

    oklch(62.9% 0.109 210.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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