#CD8DE7

Closest named color: Liliac (#C48EFD). oklch(73.9% 0.142 315.7), rgb(205, 141, 231).

Aa

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

About this color

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

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

Values

HEX#CD8DE7
RGBrgb(205, 141, 231)
HSLhsl(283, 65%, 73%)
OKLCHoklch(73.9% 0.142 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 #CD8DE7 2.45:1 Fails Lc -53.1 Large or bold text, headings
Black text on #CD8DE7 8.55:1 AAA Lc 55.9 Large or bold text, headings
#CD8DE7 text on white 2.45:1 Fails Lc 48.1 Large or bold text, headings
#CD8DE7 text on black 8.55:1 AAA Lc -53.9 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

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E6D0F0

    oklch(88.5% 0.049 315.4)

  4. Step 300

    300

    #D7AFE8

    oklch(80.8% 0.09 315.7)

  5. Step 400

    400 (this color)

    #CD8DE7

    oklch(73.9% 0.142 315.7)

  6. Step 500

    500

    #B360D2

    oklch(63.1% 0.182 316)

  7. Step 600

    600

    #9E42BF

    oklch(55.5% 0.198 315.9)

  8. Step 700

    700

    #8733A5

    oklch(49.1% 0.184 315.8)

  9. Step 800

    800

    #6E2C86

    oklch(42.8% 0.152 315.8)

  10. Step 900

    900

    #59296B

    oklch(37.7% 0.118 315.8)

  11. Step 950

    950

    #34193F

    oklch(27% 0.075 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#CD8DE7 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)#7EA1EA0.118
Deuteranopia (no green cones)#8EA7E40.107
Tritanopia (no blue cones)#CC99AF0.096
Achromatopsia (no color)#A5A5A50.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD8DE7

    #CD8DE7

    oklch(73.9% 0.142 315.7)

  • #81BE60

    #81BE60

    oklch(73.8% 0.141 135.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD8DE7

    #CD8DE7

    oklch(73.9% 0.142 315.7)

  • #A39CFF

    #A39CFF

    oklch(73.9% 0.141 285.6)

  • #E983BE

    #E983BE

    oklch(73.8% 0.143 345.5)

Open the analogous palette in the generator

Split complementary

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

  • #CD8DE7

    #CD8DE7

    oklch(73.9% 0.142 315.7)

  • #B7AF2F

    #B7AF2F

    oklch(73.9% 0.142 105.7)

  • #2FC695

    #2FC695

    oklch(73.8% 0.142 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD8DE7

    #CD8DE7

    oklch(73.9% 0.142 315.7)

  • #DD9C2B

    #DD9C2B

    oklch(73.8% 0.142 75.9)

  • #00C3C4

    #00C3C4

    oklch(74% 0.126 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD8DE7

    #CD8DE7

    oklch(73.9% 0.142 315.7)

  • #F38B59

    #F38B59

    oklch(73.9% 0.142 45.5)

  • #81BE60

    #81BE60

    oklch(73.8% 0.141 135.6)

  • #00BCEE

    #00BCEE

    oklch(74% 0.141 225.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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