#CD82ED

Closest named color: Liliac (#C48EFD). oklch(72.4% 0.167 315.1), rgb(205, 130, 237).

Aa

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

About this color

#CD82ED is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.167 and its hue 315°. 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.01:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.167)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.01:1
White text2.62:1

Values

HEX#CD82ED
RGBrgb(205, 130, 237)
HSLhsl(282, 75%, 72%)
OKLCHoklch(72.4% 0.167 315.1)

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 #CD82ED 2.62:1 Fails Lc -56.0 Large or bold text, headings
Black text on #CD82ED 8.01:1 AAA Lc 53.2 Large or bold text, headings
#CD82ED text on white 2.62:1 Fails Lc 50.9 Large or bold text, headings
#CD82ED text on black 8.01:1 AAA Lc -51.0 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E8CEF4

    oklch(88.5% 0.058 315.2)

  4. Step 300

    300

    #DAACEF

    oklch(80.8% 0.104 315)

  5. Step 400

    400 (this color)

    #CD82ED

    oklch(72.4% 0.167 315.1)

  6. Step 500

    500

    #B855E0

    oklch(63.1% 0.214 314.9)

  7. Step 600

    600

    #A431CD

    oklch(55.6% 0.233 315.2)

  8. Step 700

    700

    #8C21B2

    oklch(49.1% 0.216 314.9)

  9. Step 800

    800

    #721F90

    oklch(42.7% 0.179 315.1)

  10. Step 900

    900

    #5C2273

    oklch(37.7% 0.139 314.8)

  11. Step 950

    950

    #361543

    oklch(26.9% 0.088 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#CD82ED 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)#6E9BF10.141
Deuteranopia (no green cones)#82A2EA0.128
Tritanopia (no blue cones)#CB91AC0.112
Achromatopsia (no color)#A0A0A00.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD82ED

    #CD82ED

    oklch(72.4% 0.167 315.1)

  • #75BC47

    #75BC47

    oklch(72.4% 0.167 135.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD82ED

    #CD82ED

    oklch(72.4% 0.167 315.1)

  • #9D96FF

    #9D96FF

    oklch(72.3% 0.15 285)

  • #ED76BE

    #ED76BE

    oklch(72.4% 0.167 344.9)

Open the analogous palette in the generator

Split complementary

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

  • #CD82ED

    #CD82ED

    oklch(72.4% 0.167 315.1)

  • #B5AA00

    #B5AA00

    oklch(72.4% 0.154 105)

  • #00C38E

    #00C38E

    oklch(72.4% 0.152 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD82ED

    #CD82ED

    oklch(72.4% 0.167 315.1)

  • #DD9600

    #DD9600

    oklch(72.5% 0.153 75.2)

  • #00BDBE

    #00BDBE

    oklch(72.3% 0.123 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD82ED

    #CD82ED

    oklch(72.4% 0.167 315.1)

  • #F97E41

    #F97E41

    oklch(72.4% 0.168 44.9)

  • #75BC47

    #75BC47

    oklch(72.4% 0.167 135.1)

  • #00B7E6

    #00B7E6

    oklch(72.5% 0.137 224.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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