#CD84E4#CD84E4

#CD84E4 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.3% C 0.154 H 317.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CD84E4
RGBrgb(205, 132, 228)
HSLhsl(286, 64%, 71%)
HSVhsv(286, 42%, 89%)
CMYKcmyk(10.1%, 42.1%, 0%, 10.6%)
CIE-LABlab(65.81, 43.94, -37.63)
CIE-LCHlch(65.81, 57.85, 319.42°)
OKLaboklab(72.32% 0.1143 -0.1038)
OKLCHoklch(72.32% 0.154 317.8)
XYZxyz(47.4297, 35.0845, 77.6573)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84E4 #9BE484
analogous
#9D84E4 #CD84E4 #E484CB
triadic
#CD84E4 #E4CD84 #84E4CD
tetradic
#CD84E4 #E49D84 #9BE484 #84CBE4
square
#CD84E4 #E49D84 #9BE484 #84CBE4
split-complementary
#CD84E4 #CBE484 #84E49D
monochromatic
#9E2BC3 #B952D9 #CD84E4 #E1B6EF #F5E6F9

Accessibility & contrast

On white

2.62
#CD84E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CD84E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84E4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84E4#FFFFFF#000000##000000
##CD84E41.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE7
Deuteranopia (green-blind)
#88A2E1
Tritanopia (blue-blind)
#CD91A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd84e4;
/* rgb */ color: rgb(205, 132, 228);
/* oklch */ color: oklch(72.3% 0.154 317.8);
Tailwind
colors: {
  custom: {
    50: '#dea9ed',
    500: '#cd84e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd84e4;
$custom-light: #dea9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84e4",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 228
  },
  "hsl": {
    "h": 285.625,
    "s": 64,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72319,
    "c": 0.15442,
    "h": 317.8
  },
  "luminance": 0.35083
}

Semantic roles & 50–950 ramp

primary
#CD84E4
secondary
#DBEFD5
accent
#CC1A44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD84E4

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

Preview Lab → · Contrast checker → · Palette generator →

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