#CF8AEB

Closest named color: Liliac (#C48EFD). oklch(73.8% 0.153 315.7), rgb(207, 138, 235).

Aa

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

About this color

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

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

Values

HEX#CF8AEB
RGBrgb(207, 138, 235)
HSLhsl(283, 71%, 73%)
OKLCHoklch(73.8% 0.153 315.7)

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 #CF8AEB 2.47:1 Fails Lc -53.5 Large or bold text, headings
Black text on #CF8AEB 8.48:1 AAA Lc 55.6 Large or bold text, headings
#CF8AEB text on white 2.47:1 Fails Lc 48.4 Large or bold text, headings
#CF8AEB text on black 8.48:1 AAA Lc -53.6 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF1

    oklch(88.5% 0.053 316)

  4. Step 300

    300

    #D9AEEB

    oklch(80.9% 0.096 315.8)

  5. Step 400

    400 (this color)

    #CF8AEB

    oklch(73.8% 0.153 315.7)

  6. Step 500

    500

    #B55CD8

    oklch(63.1% 0.195 315.4)

  7. Step 600

    600

    #A13CC5

    oklch(55.6% 0.212 315.7)

  8. Step 700

    700

    #8A2CAA

    oklch(49.1% 0.198 315.9)

  9. Step 800

    800

    #70278A

    oklch(42.8% 0.164 315.7)

  10. Step 900

    900

    #5B266E

    oklch(37.8% 0.127 316.1)

  11. Step 950

    950

    #351741

    oklch(27% 0.082 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#CF8AEB 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)#79A0EF0.128
Deuteranopia (no green cones)#8BA7E80.117
Tritanopia (no blue cones)#CE97AF0.103
Achromatopsia (no color)#A5A5A50.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF8AEB

    #CF8AEB

    oklch(73.8% 0.153 315.7)

  • #7DBF58

    #7DBF58

    oklch(73.7% 0.152 135.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF8AEB

    #CF8AEB

    oklch(73.8% 0.153 315.7)

  • #A39CFF

    #A39CFF

    oklch(73.9% 0.141 285.6)

  • #ED7FBF

    #ED7FBF

    oklch(73.8% 0.154 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #CF8AEB

    #CF8AEB

    oklch(73.8% 0.153 315.7)

  • #B8AF16

    #B8AF16

    oklch(73.8% 0.153 105.8)

  • #07C893

    #07C893

    oklch(73.9% 0.153 165.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF8AEB

    #CF8AEB

    oklch(73.8% 0.153 315.7)

  • #E19A0E

    #E19A0E

    oklch(73.8% 0.153 75.4)

  • #00C2C4

    #00C2C4

    oklch(73.8% 0.126 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF8AEB

    #CF8AEB

    oklch(73.8% 0.153 315.7)

  • #F78850

    #F78850

    oklch(73.8% 0.153 46.1)

  • #7DBF58

    #7DBF58

    oklch(73.7% 0.152 135.6)

  • #00BBED

    #00BBED

    oklch(73.8% 0.141 225.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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