#CD84DC#CD84DC

#CD84DC is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.0% C 0.146 H 320.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CD84DC
RGBrgb(205, 132, 220)
HSLhsl(290, 56%, 69%)
HSVhsv(290, 40%, 86%)
CMYKcmyk(6.8%, 40%, 0%, 13.7%)
CIE-LABlab(65.48, 42.35, -33.72)
CIE-LCHlch(65.48, 54.14, 321.47°)
OKLaboklab(71.95% 0.1128 -0.0926)
OKLCHoklch(71.95% 0.146 320.6)
XYZxyz(46.3448, 34.6505, 71.9432)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84DC #93DC84
analogous
#A184DC #CD84DC #DC84BF
triadic
#CD84DC #DCCD84 #84DCCD
tetradic
#CD84DC #DCA184 #93DC84 #84BFDC
square
#CD84DC #DCA184 #93DC84 #84BFDC
split-complementary
#CD84DC #BFDC84 #84DCA1
monochromatic
#9D33B3 #BA54CE #CD84DC #E0B4EA #F4E3F7

Accessibility & contrast

On white

2.65
#CD84DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#CD84DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84DC
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84DC#FFFFFF#000000##000000
##CD84DC1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#789ADF
Deuteranopia (green-blind)
#8BA2D9
Tritanopia (blue-blind)
#CF8EA6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd84dc;
/* rgb */ color: rgb(205, 132, 220);
/* oklch */ color: oklch(72.0% 0.146 320.6);
Tailwind
colors: {
  custom: {
    50: '#dda9e7',
    500: '#cd84dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd84dc;
$custom-light: #dda9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84dc",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 220
  },
  "hsl": {
    "h": 289.773,
    "s": 55.696,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71953,
    "c": 0.14591,
    "h": 320.6
  },
  "luminance": 0.34649
}

Semantic roles & 50–950 ramp

primary
#CD84DC
secondary
#D5EBD1
accent
#C3223E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD84DC

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

Preview Lab → · Contrast checker → · Palette generator →

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