#CD8CEF

Closest named color: Liliac (#C48EFD). oklch(74.1% 0.153 313.3), rgb(205, 140, 239).

Aa

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

About this color

#CD8CEF is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.153 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.024 away. Black text reads best on it, at 8.59:1.

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

Values

HEX#CD8CEF
RGBrgb(205, 140, 239)
HSLhsl(279, 76%, 74%)
OKLCHoklch(74.1% 0.153 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 #CD8CEF 2.44:1 Fails Lc -52.9 Large or bold text, headings
Black text on #CD8CEF 8.59:1 AAA Lc 56.1 Large or bold text, headings
#CD8CEF text on white 2.44:1 Fails Lc 47.9 Large or bold text, headings
#CD8CEF text on black 8.59:1 AAA Lc -54.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E6CFF3

    oklch(88.5% 0.055 313.4)

  4. Step 300

    300

    #D7AFED

    oklch(81% 0.096 313.4)

  5. Step 400

    400 (this color)

    #CD8CEF

    oklch(74.1% 0.153 313.3)

  6. Step 500

    500

    #B25DDB

    oklch(63.1% 0.195 313.3)

  7. Step 600

    600

    #9E3DC9

    oklch(55.6% 0.214 313.4)

  8. Step 700

    700

    #872EAD

    oklch(49.1% 0.197 313.6)

  9. Step 800

    800

    #6D288C

    oklch(42.6% 0.163 313.3)

  10. Step 900

    900

    #592770

    oklch(37.8% 0.127 313.6)

  11. Step 950

    950

    #341842

    oklch(27% 0.081 313)

Export this scale for Tailwind in the Tailwind colors tool

#CD8CEF 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)#79A2F30.124
Deuteranopia (no green cones)#8AA7EC0.112
Tritanopia (no blue cones)#CA9AB20.106
Achromatopsia (no color)#A6A6A60.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD8CEF

    #CD8CEF

    oklch(74.1% 0.153 313.3)

  • #83BF54

    #83BF54

    oklch(74% 0.153 133.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD8CEF

    #CD8CEF

    oklch(74.1% 0.153 313.3)

  • #A09EFF

    #A09EFF

    oklch(74% 0.138 283.4)

  • #EC81C4

    #EC81C4

    oklch(74.1% 0.153 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #CD8CEF

    #CD8CEF

    oklch(74.1% 0.153 313.3)

  • #BDAE10

    #BDAE10

    oklch(74.1% 0.153 103.1)

  • #21C98F

    #21C98F

    oklch(74.2% 0.154 163)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD8CEF

    #CD8CEF

    oklch(74.1% 0.153 313.3)

  • #E49A16

    #E49A16

    oklch(74.2% 0.153 73.7)

  • #00C4C1

    #00C4C1

    oklch(74.2% 0.127 192.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD8CEF

    #CD8CEF

    oklch(74.1% 0.153 313.3)

  • #F98756

    #F98756

    oklch(74% 0.153 43.1)

  • #83BF54

    #83BF54

    oklch(74% 0.153 133.3)

  • #00BDEB

    #00BDEB

    oklch(74.1% 0.139 223.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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