#CD84D7#CD84D7

#CD84D7 is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.7% C 0.141 H 322.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#CD84D7
RGBrgb(205, 132, 215)
HSLhsl(293, 51%, 68%)
HSVhsv(293, 39%, 84%)
CMYKcmyk(4.7%, 38.6%, 0%, 15.7%)
CIE-LABlab(65.27, 41.38, -31.26)
CIE-LCHlch(65.27, 51.86, 322.94°)
OKLaboklab(71.73% 0.1117 -0.0856)
OKLCHoklch(71.73% 0.141 322.5)
XYZxyz(45.6925, 34.3896, 68.5078)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84D7 #8ED784
analogous
#A384D7 #CD84D7 #D784B7
triadic
#CD84D7 #D7CD84 #84D7CD
tetradic
#CD84D7 #D7A384 #8ED784 #84B7D7
square
#CD84D7 #D7A384 #8ED784 #84B7D7
split-complementary
#CD84D7 #B7D784 #84D7A3
monochromatic
#9C37A9 #BA56C8 #CD84D7 #E0B2E6 #F3E0F5

Accessibility & contrast

On white

2.67
#CD84D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#CD84D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84D7
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84D7#FFFFFF#000000##000000
##CD84D71.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B99DA
Deuteranopia (green-blind)
#8DA1D4
Tritanopia (blue-blind)
#CF8DA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd84d7;
/* rgb */ color: rgb(205, 132, 215);
/* oklch */ color: oklch(71.7% 0.141 322.5);
Tailwind
colors: {
  custom: {
    50: '#dda9e3',
    500: '#cd84d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd84d7;
$custom-light: #dda9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84d7",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 215
  },
  "hsl": {
    "h": 292.771,
    "s": 50.92,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.14071,
    "h": 322.5
  },
  "luminance": 0.34388
}

Semantic roles & 50–950 ramp

primary
#CD84D7
secondary
#D2E8CF
accent
#BE2739
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD84D7

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

Preview Lab → · Contrast checker → · Palette generator →

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