#CD84EA#CD84EA

#CD84EA is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.6% C 0.161 H 315.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CD84EA
RGBrgb(205, 132, 234)
HSLhsl(283, 71%, 72%)
HSVhsv(283, 44%, 92%)
CMYKcmyk(12.4%, 43.6%, 0%, 8.2%)
CIE-LABlab(66.08, 45.16, -40.54)
CIE-LCHlch(66.08, 60.68, 318.08°)
OKLaboklab(72.6% 0.1154 -0.1122)
OKLCHoklch(72.6% 0.161 315.8)
XYZxyz(48.2771, 35.4235, 82.1202)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84EA #A1EA84
analogous
#9A84EA #CD84EA #EA84D4
triadic
#CD84EA #EACD84 #84EACD
tetradic
#CD84EA #EA9A84 #A1EA84 #84D4EA
square
#CD84EA #EA9A84 #A1EA84 #84D4EA
split-complementary
#CD84EA #D4EA84 #84EA9A
monochromatic
#9F24D0 #B850E1 #CD84EA #E2B8F3 #F4E5FB

Accessibility & contrast

On white

2.60
#CD84EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#CD84EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84EA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84EA#FFFFFF#000000##000000
##CD84EA1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CEE
Deuteranopia (green-blind)
#85A3E7
Tritanopia (blue-blind)
#CC92AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd84ea;
/* rgb */ color: rgb(205, 132, 234);
/* oklch */ color: oklch(72.6% 0.161 315.8);
Tailwind
colors: {
  custom: {
    50: '#dea9f1',
    500: '#cd84ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd84ea;
$custom-light: #dea9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84ea",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 282.941,
    "s": 70.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72601,
    "c": 0.16092,
    "h": 315.8
  },
  "luminance": 0.35422
}

Semantic roles & 50–950 ramp

primary
#CD84EA
secondary
#DFF2D8
accent
#D31349
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD84EA

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

Preview Lab → · Contrast checker → · Palette generator →

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