#C878EA

Closest named color: Light Purple (#BF77F6). oklch(70.2% 0.178 315), rgb(200, 120, 234).

Aa

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

About this color

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

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

Values

HEX#C878EA
RGBrgb(200, 120, 234)
HSLhsl(282, 73%, 69%)
OKLCHoklch(70.2% 0.178 315)

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 #C878EA 2.86:1 Fails Lc -59.8 Large or bold text, headings
Black text on #C878EA 7.33:1 AAA Lc 49.5 Large or bold text, headings
#C878EA text on white 2.86:1 Fails Lc 54.5 Large or bold text, headings
#C878EA text on black 7.33:1 AAA Lc -47.3 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

    #F2E4F9

    oklch(93.6% 0.032 314.7)

  3. Step 200

    200

    #E9CDF6

    oklch(88.4% 0.063 315.1)

  4. Step 300

    300

    #DCABF2

    oklch(81% 0.111 315.1)

  5. Step 400

    400 (this color)

    #C878EA

    oklch(70.2% 0.178 315)

  6. Step 500

    500

    #BB4FE5

    oklch(63% 0.228 315.1)

  7. Step 600

    600

    #A727D3

    oklch(55.7% 0.247 315.1)

  8. Step 700

    700

    #8F14B7

    oklch(49.1% 0.23 315)

  9. Step 800

    800

    #741894

    oklch(42.7% 0.19 315)

  10. Step 900

    900

    #5E1E76

    oklch(37.8% 0.148 315.1)

  11. Step 950

    950

    #371345

    oklch(26.9% 0.095 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#C878EA 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)#6094EE0.154
Deuteranopia (no green cones)#789BE70.138
Tritanopia (no blue cones)#C689A60.119
Achromatopsia (no color)#9999990.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #C878EA

    #C878EA

    oklch(70.2% 0.178 315)

  • #6BB634

    #6BB634

    oklch(70.2% 0.178 134.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C878EA

    #C878EA

    oklch(70.2% 0.178 315)

  • #968DFF

    #968DFF

    oklch(70.1% 0.163 285)

  • #E96BB8

    #E96BB8

    oklch(70.2% 0.178 345)

Open the analogous palette in the generator

Split complementary

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

  • #C878EA

    #C878EA

    oklch(70.2% 0.178 315)

  • #AEA300

    #AEA300

    oklch(70.2% 0.149 104.8)

  • #00BB88

    #00BB88

    oklch(70.2% 0.147 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C878EA

    #C878EA

    oklch(70.2% 0.178 315)

  • #D48F00

    #D48F00

    oklch(70.2% 0.148 74.8)

  • #00B6B6

    #00B6B6

    oklch(70.3% 0.12 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C878EA

    #C878EA

    oklch(70.2% 0.178 315)

  • #F6732E

    #F6732E

    oklch(70.2% 0.179 44.8)

  • #6BB634

    #6BB634

    oklch(70.2% 0.178 134.9)

  • #00AFDD

    #00AFDD

    oklch(70.2% 0.133 225.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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