#9C87EC

Closest named color: Perrywinkle (#8F8CE7). oklch(68.5% 0.146 291.6), rgb(156, 135, 236).

Aa

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

About this color

#9C87EC is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.146 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.024 away. Black text reads best on it, at 7.09:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.146)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.09:1
White text2.96:1

Values

HEX#9C87EC
RGBrgb(156, 135, 236)
HSLhsl(252, 73%, 73%)
OKLCHoklch(68.5% 0.146 291.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 #9C87EC 2.96:1 Fails Lc -61.4 Content text, not long reading
Black text on #9C87EC 7.09:1 AAA Lc 48.0 Large or bold text, headings
#9C87EC text on white 2.96:1 Fails Lc 56.0 Large or bold text, headings
#9C87EC text on black 7.09:1 AAA Lc -45.7 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #D9D4F9

    oklch(88.6% 0.051 291.5)

  4. Step 300

    300

    #C1B6F7

    oklch(80.8% 0.091 292)

  5. Step 400

    400 (this color)

    #9C87EC

    oklch(68.5% 0.146 291.6)

  6. Step 500

    500

    #8E6EEF

    oklch(63.1% 0.186 291.6)

  7. Step 600

    600

    #7A51DE

    oklch(55.6% 0.204 291.8)

  8. Step 700

    700

    #6741C0

    oklch(49.1% 0.188 291.7)

  9. Step 800

    800

    #54379C

    oklch(42.9% 0.156 291.6)

  10. Step 900

    900

    #44317C

    oklch(37.7% 0.122 291.1)

  11. Step 950

    950

    #281D48

    oklch(26.9% 0.077 292.2)

Export this scale for Tailwind in the Tailwind colors tool

#9C87EC 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)#6698F00.076
Deuteranopia (no green cones)#6894EA0.072
Tritanopia (no blue cones)#899AAE0.121
Achromatopsia (no color)#9696960.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C87EC

    #9C87EC

    oklch(68.5% 0.146 291.6)

  • #9DA216

    #9DA216

    oklch(68.6% 0.147 112)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C87EC

    #9C87EC

    oklch(68.5% 0.146 291.6)

  • #6698F3

    #6698F3

    oklch(68.5% 0.145 261.5)

  • #C379CF

    #C379CF

    oklch(68.5% 0.146 321.8)

Open the analogous palette in the generator

Split complementary

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

  • #9C87EC

    #9C87EC

    oklch(68.5% 0.146 291.6)

  • #C58F00

    #C58F00

    oklch(68.4% 0.141 81.6)

  • #61B057

    #61B057

    oklch(68.6% 0.147 141.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C87EC

    #9C87EC

    oklch(68.5% 0.146 291.6)

  • #DF7C39

    #DF7C39

    oklch(68.5% 0.146 51.6)

  • #00B490

    #00B490

    oklch(68.6% 0.133 171.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C87EC

    #9C87EC

    oklch(68.5% 0.146 291.6)

  • #E67171

    #E67171

    oklch(68.6% 0.146 21.6)

  • #9DA216

    #9DA216

    oklch(68.6% 0.147 112)

  • #00AFB8

    #00AFB8

    oklch(68.6% 0.117 201.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9C87EC 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.