#CD8EEE

Closest named color: Liliac (#C48EFD). oklch(74.4% 0.149 313.3), rgb(205, 142, 238).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.149)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.69:1
White text2.41:1

Values

HEX#CD8EEE
RGBrgb(205, 142, 238)
HSLhsl(279, 74%, 75%)
OKLCHoklch(74.4% 0.149 313.3)

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 #CD8EEE 2.41:1 Fails Lc -52.3 Large or bold text, headings
Black text on #CD8EEE 8.69:1 AAA Lc 56.6 Large or bold text, headings
#CD8EEE text on white 2.41:1 Fails Lc 47.4 Large or bold text, headings
#CD8EEE text on black 8.69:1 AAA Lc -54.7 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

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E5D0F2

    oklch(88.5% 0.051 312.6)

  4. Step 300

    300

    #D6AFEC

    oklch(80.9% 0.094 313.1)

  5. Step 400

    400 (this color)

    #CD8EEE

    oklch(74.4% 0.149 313.3)

  6. Step 500

    500

    #B15FD9

    oklch(63.1% 0.19 313.3)

  7. Step 600

    600

    #9C40C6

    oklch(55.5% 0.206 313.2)

  8. Step 700

    700

    #8631AB

    oklch(49.2% 0.191 313.5)

  9. Step 800

    800

    #6D2A8B

    oklch(42.8% 0.16 313.4)

  10. Step 900

    900

    #58286F

    oklch(37.7% 0.124 313.2)

  11. Step 950

    950

    #341841

    oklch(27% 0.079 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#CD8EEE 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)#7CA3F20.119
Deuteranopia (no green cones)#8CA8EB0.109
Tritanopia (no blue cones)#CA9CB30.103
Achromatopsia (no color)#A7A7A70.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD8EEE

    #CD8EEE

    oklch(74.4% 0.149 313.3)

  • #85C058

    #85C058

    oklch(74.4% 0.149 133.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD8EEE

    #CD8EEE

    oklch(74.4% 0.149 313.3)

  • #A19FFF

    #A19FFF

    oklch(74.3% 0.137 283.5)

  • #EC83C4

    #EC83C4

    oklch(74.4% 0.149 343.5)

Open the analogous palette in the generator

Split complementary

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

  • #CD8EEE

    #CD8EEE

    oklch(74.4% 0.149 313.3)

  • #BDAF21

    #BDAF21

    oklch(74.3% 0.148 103.3)

  • #2EC991

    #2EC991

    oklch(74.5% 0.149 163.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD8EEE

    #CD8EEE

    oklch(74.4% 0.149 313.3)

  • #E49B24

    #E49B24

    oklch(74.4% 0.149 73.1)

  • #00C5C2

    #00C5C2

    oklch(74.4% 0.128 192.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD8EEE

    #CD8EEE

    oklch(74.4% 0.149 313.3)

  • #F88A5A

    #F88A5A

    oklch(74.4% 0.148 43.6)

  • #85C058

    #85C058

    oklch(74.4% 0.149 133.4)

  • #00BEEC

    #00BEEC

    oklch(74.4% 0.139 223.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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