#CD8BE7

Closest named color: Liliac (#C48EFD). oklch(73.6% 0.146 316), rgb(205, 139, 231).

Aa

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

About this color

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

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

Values

HEX#CD8BE7
RGBrgb(205, 139, 231)
HSLhsl(283, 66%, 73%)
OKLCHoklch(73.6% 0.146 316)

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 #CD8BE7 2.48:1 Fails Lc -53.7 Large or bold text, headings
Black text on #CD8BE7 8.44:1 AAA Lc 55.3 Large or bold text, headings
#CD8BE7 text on white 2.48:1 Fails Lc 48.7 Large or bold text, headings
#CD8BE7 text on black 8.44:1 AAA Lc -53.3 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

    #E7CFF0

    oklch(88.4% 0.051 316.8)

  4. Step 300

    300

    #D8AFE9

    oklch(80.9% 0.091 315.9)

  5. Step 400

    400 (this color)

    #CD8BE7

    oklch(73.6% 0.146 316)

  6. Step 500

    500

    #B45FD4

    oklch(63.2% 0.186 315.9)

  7. Step 600

    600

    #9F40C1

    oklch(55.6% 0.203 315.8)

  8. Step 700

    700

    #8831A6

    oklch(49.1% 0.187 316)

  9. Step 800

    800

    #6F2A87

    oklch(42.8% 0.156 316.1)

  10. Step 900

    900

    #5A286C

    oklch(37.8% 0.121 316.1)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#CD8BE7 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)#7CA0EA0.121
Deuteranopia (no green cones)#8CA6E40.111
Tritanopia (no blue cones)#CC97AE0.097
Achromatopsia (no color)#A4A4A40.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD8BE7

    #CD8BE7

    oklch(73.6% 0.146 316)

  • #7EBE5D

    #7EBE5D

    oklch(73.6% 0.146 136)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD8BE7

    #CD8BE7

    oklch(73.6% 0.146 316)

  • #A39AFF

    #A39AFF

    oklch(73.5% 0.144 286.4)

  • #EA81BD

    #EA81BD

    oklch(73.6% 0.146 346)

Open the analogous palette in the generator

Split complementary

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

  • #CD8BE7

    #CD8BE7

    oklch(73.6% 0.146 316)

  • #B6AE27

    #B6AE27

    oklch(73.5% 0.146 105.9)

  • #23C694

    #23C694

    oklch(73.6% 0.146 165.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD8BE7

    #CD8BE7

    oklch(73.6% 0.146 316)

  • #DD9B22

    #DD9B22

    oklch(73.6% 0.146 76.2)

  • #00C1C3

    #00C1C3

    oklch(73.5% 0.125 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD8BE7

    #CD8BE7

    oklch(73.6% 0.146 316)

  • #F38955

    #F38955

    oklch(73.5% 0.146 45.8)

  • #7EBE5D

    #7EBE5D

    oklch(73.6% 0.146 136)

  • #00BAED

    #00BAED

    oklch(73.5% 0.141 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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