#CE8AFB

Closest named color: Liliac (#C48EFD). oklch(74.5% 0.17 310.6), rgb(206, 138, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.170)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.65:1
White text2.42:1

Values

HEX#CE8AFB
RGBrgb(206, 138, 251)
HSLhsl(276, 93%, 76%)
OKLCHoklch(74.5% 0.17 310.6)

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 #CE8AFB 2.42:1 Fails Lc -52.5 Large or bold text, headings
Black text on #CE8AFB 8.65:1 AAA Lc 56.4 Large or bold text, headings
#CE8AFB text on white 2.42:1 Fails Lc 47.5 Large or bold text, headings
#CE8AFB text on black 8.65:1 AAA Lc -54.5 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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #F0E5FA

    oklch(93.7% 0.03 309.1)

  3. Step 200

    200

    #E6CFF7

    oklch(88.6% 0.059 310.8)

  4. Step 300

    300

    #D6ADF4

    oklch(80.8% 0.107 310.4)

  5. Step 400

    400 (this color)

    #CE8AFB

    oklch(74.5% 0.17 310.6)

  6. Step 500

    500

    #B257E8

    oklch(63.1% 0.217 310.6)

  7. Step 600

    600

    #9E33D6

    oklch(55.6% 0.237 310.7)

  8. Step 700

    700

    #8723BA

    oklch(49.1% 0.22 310.5)

  9. Step 800

    800

    #6E2196

    oklch(42.8% 0.182 310.8)

  10. Step 900

    900

    #592378

    oklch(37.8% 0.142 310.5)

  11. Step 950

    950

    #341646

    oklch(27% 0.09 310.6)

Export this scale for Tailwind in the Tailwind colors tool

#CE8AFB 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)#71A3FF0.135
Deuteranopia (no green cones)#83A8F80.123
Tritanopia (no blue cones)#C99CB70.120
Achromatopsia (no color)#A6A6A60.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #CE8AFB

    #CE8AFB

    oklch(74.5% 0.17 310.6)

  • #86C13F

    #86C13F

    oklch(74.5% 0.171 130.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CE8AFB

    #CE8AFB

    oklch(74.5% 0.17 310.6)

  • #9DA1FF

    #9DA1FF

    oklch(74.4% 0.135 280.7)

  • #F27DCD

    #F27DCD

    oklch(74.6% 0.17 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #CE8AFB

    #CE8AFB

    oklch(74.5% 0.17 310.6)

  • #C3AE00

    #C3AE00

    oklch(74.6% 0.155 100.6)

  • #00CB88

    #00CB88

    oklch(74.3% 0.166 160.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CE8AFB

    #CE8AFB

    oklch(74.5% 0.17 310.6)

  • #EB9800

    #EB9800

    oklch(74.6% 0.161 70.8)

  • #00C6BF

    #00C6BF

    oklch(74.6% 0.129 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CE8AFB

    #CE8AFB

    oklch(74.5% 0.17 310.6)

  • #FF8557

    #FF8557

    oklch(74.5% 0.161 40.8)

  • #86C13F

    #86C13F

    oklch(74.5% 0.171 130.6)

  • #00BFE8

    #00BFE8

    oklch(74.5% 0.136 220.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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