#CA8BEF

Closest named color: Liliac (#C48EFD). oklch(73.6% 0.154 312.1), rgb(202, 139, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.154)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.45:1
White text2.48:1

Values

HEX#CA8BEF
RGBrgb(202, 139, 239)
HSLhsl(278, 76%, 74%)
OKLCHoklch(73.6% 0.154 312.1)

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 #CA8BEF 2.48:1 Fails Lc -53.7 Large or bold text, headings
Black text on #CA8BEF 8.45:1 AAA Lc 55.4 Large or bold text, headings
#CA8BEF text on white 2.48:1 Fails Lc 48.6 Large or bold text, headings
#CA8BEF text on black 8.45:1 AAA Lc -53.4 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F8

    oklch(93.6% 0.028 311.3)

  3. Step 200

    200

    #E5D0F3

    oklch(88.6% 0.052 311.9)

  4. Step 300

    300

    #D6AFEE

    oklch(81% 0.096 312.3)

  5. Step 400

    400 (this color)

    #CA8BEF

    oklch(73.6% 0.154 312.1)

  6. Step 500

    500

    #B05EDD

    oklch(63.1% 0.195 311.9)

  7. Step 600

    600

    #9C3ECB

    oklch(55.6% 0.214 312)

  8. Step 700

    700

    #852EAF

    oklch(49% 0.198 312.1)

  9. Step 800

    800

    #6C298E

    oklch(42.7% 0.164 311.9)

  10. Step 900

    900

    #582771

    oklch(37.7% 0.128 312.4)

  11. Step 950

    950

    #331842

    oklch(26.9% 0.08 311.9)

Export this scale for Tailwind in the Tailwind colors tool

#CA8BEF 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)#77A1F30.122
Deuteranopia (no green cones)#87A6EC0.112
Tritanopia (no blue cones)#C69AB20.107
Achromatopsia (no color)#A4A4A40.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA8BEF

    #CA8BEF

    oklch(73.6% 0.154 312.1)

  • #84BD50

    #84BD50

    oklch(73.6% 0.153 132.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA8BEF

    #CA8BEF

    oklch(73.6% 0.154 312.1)

  • #9D9DFF

    #9D9DFF

    oklch(73.6% 0.14 282.4)

  • #EA80C4

    #EA80C4

    oklch(73.7% 0.153 342.4)

Open the analogous palette in the generator

Split complementary

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

  • #CA8BEF

    #CA8BEF

    oklch(73.6% 0.154 312.1)

  • #BDAC04

    #BDAC04

    oklch(73.6% 0.154 102.3)

  • #25C78C

    #25C78C

    oklch(73.7% 0.153 162.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA8BEF

    #CA8BEF

    oklch(73.6% 0.154 312.1)

  • #E49714

    #E49714

    oklch(73.6% 0.154 72)

  • #00C2BE

    #00C2BE

    oklch(73.6% 0.126 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA8BEF

    #CA8BEF

    oklch(73.6% 0.154 312.1)

  • #F88557

    #F88557

    oklch(73.6% 0.153 41.9)

  • #84BD50

    #84BD50

    oklch(73.6% 0.153 132.2)

  • #00BCE7

    #00BCE7

    oklch(73.7% 0.136 222)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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