#CD84EB

Closest named color: Liliac (#C48EFD). oklch(72.6% 0.162 315.5), rgb(205, 132, 235).

Aa

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

About this color

#CD84EB is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.162 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.033 away. Black text reads best on it, at 8.09:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.162)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.09:1
White text2.59:1

Values

HEX#CD84EB
RGBrgb(205, 132, 235)
HSLhsl(283, 72%, 72%)
OKLCHoklch(72.6% 0.162 315.5)

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 #CD84EB 2.59:1 Fails Lc -55.6 Large or bold text, headings
Black text on #CD84EB 8.09:1 AAA Lc 53.6 Large or bold text, headings
#CD84EB text on white 2.59:1 Fails Lc 50.4 Large or bold text, headings
#CD84EB text on black 8.09:1 AAA Lc -51.5 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

    #E8CEF3

    oklch(88.4% 0.057 315.9)

  4. Step 300

    300

    #DAADED

    oklch(80.9% 0.1 315.7)

  5. Step 400

    400 (this color)

    #CD84EB

    oklch(72.6% 0.162 315.5)

  6. Step 500

    500

    #B857DC

    oklch(63.1% 0.207 315.8)

  7. Step 600

    600

    #A335CA

    oklch(55.6% 0.226 315.5)

  8. Step 700

    700

    #8C25AF

    oklch(49.2% 0.21 315.6)

  9. Step 800

    800

    #71228D

    oklch(42.6% 0.173 315.5)

  10. Step 900

    900

    #5C2371

    oklch(37.7% 0.135 315.6)

  11. Step 950

    950

    #361642

    oklch(27% 0.085 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#CD84EB 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)#719CEF0.137
Deuteranopia (no green cones)#85A3E80.124
Tritanopia (no blue cones)#CB92AC0.108
Achromatopsia (no color)#A1A1A10.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD84EB

    #CD84EB

    oklch(72.6% 0.162 315.5)

  • #76BD4D

    #76BD4D

    oklch(72.7% 0.163 135.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD84EB

    #CD84EB

    oklch(72.6% 0.162 315.5)

  • #9F97FF

    #9F97FF

    oklch(72.7% 0.148 285.6)

  • #EC79BD

    #EC79BD

    oklch(72.7% 0.161 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #CD84EB

    #CD84EB

    oklch(72.6% 0.162 315.5)

  • #B5AB00

    #B5AB00

    oklch(72.6% 0.154 105.4)

  • #00C48F

    #00C48F

    oklch(72.7% 0.152 165.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD84EB

    #CD84EB

    oklch(72.6% 0.162 315.5)

  • #DD9700

    #DD9700

    oklch(72.7% 0.153 75.8)

  • #00BEBF

    #00BEBF

    oklch(72.6% 0.124 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD84EB

    #CD84EB

    oklch(72.6% 0.162 315.5)

  • #F78146

    #F78146

    oklch(72.6% 0.162 45.4)

  • #76BD4D

    #76BD4D

    oklch(72.7% 0.163 135.7)

  • #00B7E8

    #00B7E8

    oklch(72.6% 0.138 225.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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