#CA81EA

Closest named color: Liliac (#C48EFD). oklch(71.8% 0.165 314.9), rgb(202, 129, 234).

Aa

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

About this color

#CA81EA is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.165 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.037 away. Black text reads best on it, at 7.83:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.165)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text7.83:1
White text2.67:1

Values

HEX#CA81EA
RGBrgb(202, 129, 234)
HSLhsl(282, 71%, 71%)
OKLCHoklch(71.8% 0.165 314.9)

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 #CA81EA 2.67:1 Fails Lc -57.0 Large or bold text, headings
Black text on #CA81EA 7.83:1 AAA Lc 52.2 Large or bold text, headings
#CA81EA text on white 2.67:1 Fails Lc 51.8 Large or bold text, headings
#CA81EA text on black 7.83:1 AAA Lc -50.1 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E8CEF4

    oklch(88.5% 0.058 315.2)

  4. Step 300

    300

    #DAADEF

    oklch(81% 0.103 314.8)

  5. Step 400

    400 (this color)

    #CA81EA

    oklch(71.8% 0.165 314.9)

  6. Step 500

    500

    #B757DF

    oklch(63.1% 0.21 314.6)

  7. Step 600

    600

    #A334CC

    oklch(55.6% 0.228 315)

  8. Step 700

    700

    #8B24B1

    oklch(49.1% 0.213 314.6)

  9. Step 800

    800

    #71218F

    oklch(42.7% 0.176 314.8)

  10. Step 900

    900

    #5C2372

    oklch(37.8% 0.137 315.1)

  11. Step 950

    950

    #361643

    oklch(27.1% 0.087 315)

Export this scale for Tailwind in the Tailwind colors tool

#CA81EA 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)#6D9AEE0.138
Deuteranopia (no green cones)#81A0E70.125
Tritanopia (no blue cones)#C890AB0.110
Achromatopsia (no color)#9E9E9E0.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA81EA

    #CA81EA

    oklch(71.8% 0.165 314.9)

  • #75BA47

    #75BA47

    oklch(71.9% 0.164 134.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA81EA

    #CA81EA

    oklch(71.8% 0.165 314.9)

  • #9B94FF

    #9B94FF

    oklch(71.8% 0.153 284.8)

  • #EA75BC

    #EA75BC

    oklch(71.8% 0.165 344.7)

Open the analogous palette in the generator

Split complementary

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

  • #CA81EA

    #CA81EA

    oklch(71.8% 0.165 314.9)

  • #B3A800

    #B3A800

    oklch(71.8% 0.152 104.9)

  • #00C18C

    #00C18C

    oklch(71.8% 0.151 164.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA81EA

    #CA81EA

    oklch(71.8% 0.165 314.9)

  • #DA9400

    #DA9400

    oklch(71.8% 0.151 75.3)

  • #00BBBB

    #00BBBB

    oklch(71.7% 0.122 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA81EA

    #CA81EA

    oklch(71.8% 0.165 314.9)

  • #F67D42

    #F67D42

    oklch(71.8% 0.165 44.7)

  • #75BA47

    #75BA47

    oklch(71.9% 0.164 134.9)

  • #00B5E3

    #00B5E3

    oklch(71.9% 0.136 224.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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