#CD84DE#CD84DE

#CD84DE is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.0% C 0.148 H 319.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CD84DE
RGBrgb(205, 132, 222)
HSLhsl(289, 58%, 69%)
HSVhsv(289, 41%, 87%)
CMYKcmyk(7.7%, 40.5%, 0%, 12.9%)
CIE-LABlab(65.56, 42.75, -34.70)
CIE-LCHlch(65.56, 55.06, 320.93°)
OKLaboklab(72.04% 0.1132 -0.0954)
OKLCHoklch(72.04% 0.148 319.9)
XYZxyz(46.6112, 34.7571, 73.3465)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84DE #95DE84
analogous
#A084DE #CD84DE #DE84C2
triadic
#CD84DE #DECD84 #84DECD
tetradic
#CD84DE #DEA084 #95DE84 #84C2DE
square
#CD84DE #DEA084 #95DE84 #84C2DE
split-complementary
#CD84DE #C2DE84 #84DEA0
monochromatic
#9D31B7 #B954D1 #CD84DE #E1B4EB #F4E5F8

Accessibility & contrast

On white

2.64
#CD84DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CD84DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84DE
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84DE#FFFFFF#000000##000000
##CD84DE1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#789AE1
Deuteranopia (green-blind)
#8BA2DB
Tritanopia (blue-blind)
#CE8FA7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd84de;
/* rgb */ color: rgb(205, 132, 222);
/* oklch */ color: oklch(72.0% 0.148 319.9);
Tailwind
colors: {
  custom: {
    50: '#dea9e8',
    500: '#cd84de',
    950: '#000000',
  },
}
SCSS
$custom: #cd84de;
$custom-light: #dea9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84de",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 222
  },
  "hsl": {
    "h": 288.667,
    "s": 57.692,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72043,
    "c": 0.14802,
    "h": 319.9
  },
  "luminance": 0.34756
}

Semantic roles & 50–950 ramp

primary
#CD84DE
secondary
#D7ECD2
accent
#C5203F
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD84DE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CD84DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva