#C87EF5

Closest named color: Light Purple (#BF77F6). oklch(71.7% 0.181 311.3), rgb(200, 126, 245).

Aa

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

About this color

#C87EF5 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.181 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.023 away. Black text reads best on it, at 7.75:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.181)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.75:1
White text2.70:1

Values

HEX#C87EF5
RGBrgb(200, 126, 245)
HSLhsl(277, 86%, 73%)
OKLCHoklch(71.7% 0.181 311.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 #C87EF5 2.70:1 Fails Lc -57.4 Large or bold text, headings
Black text on #C87EF5 7.75:1 AAA Lc 51.8 Large or bold text, headings
#C87EF5 text on white 2.70:1 Fails Lc 52.2 Large or bold text, headings
#C87EF5 text on black 7.75:1 AAA Lc -49.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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F1E4FA

    oklch(93.6% 0.032 311.7)

  3. Step 200

    200

    #E7CEF8

    oklch(88.5% 0.063 311.6)

  4. Step 300

    300

    #D8ACF6

    oklch(80.9% 0.112 311.1)

  5. Step 400

    400 (this color)

    #C87EF5

    oklch(71.7% 0.181 311.3)

  6. Step 500

    500

    #B651ED

    oklch(63.2% 0.231 311.3)

  7. Step 600

    600

    #A229DB

    oklch(55.7% 0.251 311.4)

  8. Step 700

    700

    #8A16BE

    oklch(49.1% 0.234 311.1)

  9. Step 800

    800

    #70199A

    oklch(42.7% 0.194 311)

  10. Step 900

    900

    #5B1F7A

    oklch(37.7% 0.15 311.4)

  11. Step 950

    950

    #351448

    oklch(27% 0.096 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#C87EF5 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)#6199F90.148
Deuteranopia (no green cones)#779FF20.134
Tritanopia (no blue cones)#C391AE0.126
Achromatopsia (no color)#9D9D9D0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #C87EF5

    #C87EF5

    oklch(71.7% 0.181 311.3)

  • #79B92A

    #79B92A

    oklch(71.6% 0.18 131.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C87EF5

    #C87EF5

    oklch(71.7% 0.181 311.3)

  • #9596FF

    #9596FF

    oklch(71.7% 0.151 281.5)

  • #EC70C4

    #EC70C4

    oklch(71.7% 0.18 341.4)

Open the analogous palette in the generator

Split complementary

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

  • #C87EF5

    #C87EF5

    oklch(71.7% 0.181 311.3)

  • #B8A500

    #B8A500

    oklch(71.6% 0.149 101.1)

  • #00C183

    #00C183

    oklch(71.6% 0.159 161.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C87EF5

    #C87EF5

    oklch(71.7% 0.181 311.3)

  • #DE9000

    #DE9000

    oklch(71.6% 0.154 71.2)

  • #00BCB6

    #00BCB6

    oklch(71.8% 0.124 190.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C87EF5

    #C87EF5

    oklch(71.7% 0.181 311.3)

  • #FE753D

    #FE753D

    oklch(71.7% 0.181 41.3)

  • #79B92A

    #79B92A

    oklch(71.6% 0.18 131.3)

  • #00B5DE

    #00B5DE

    oklch(71.6% 0.132 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #C87EF5 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.