#CD84E2#CD84E2

#CD84E2 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.2% C 0.152 H 318.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#CD84E2
RGBrgb(205, 132, 226)
HSLhsl(287, 62%, 70%)
HSVhsv(287, 42%, 89%)
CMYKcmyk(9.3%, 41.6%, 0%, 11.4%)
CIE-LABlab(65.73, 43.54, -36.66)
CIE-LCHlch(65.73, 56.92, 319.90°)
OKLaboklab(72.23% 0.114 -0.101)
OKLCHoklch(72.23% 0.152 318.4)
XYZxyz(47.1537, 34.9741, 76.2035)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84E2 #99E284
analogous
#9E84E2 #CD84E2 #E284C8
triadic
#CD84E2 #E2CD84 #84E2CD
tetradic
#CD84E2 #E29E84 #99E284 #84C8E2
square
#CD84E2 #E29E84 #99E284 #84C8E2
split-complementary
#CD84E2 #C8E284 #84E29E
monochromatic
#9E2DBF #B952D6 #CD84E2 #E1B6EE #F5E6F9

Accessibility & contrast

On white

2.63
#CD84E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#CD84E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84E2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84E2#FFFFFF#000000##000000
##CD84E21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769BE5
Deuteranopia (green-blind)
#89A2DF
Tritanopia (blue-blind)
#CD90A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd84e2;
/* rgb */ color: rgb(205, 132, 226);
/* oklch */ color: oklch(72.2% 0.152 318.4);
Tailwind
colors: {
  custom: {
    50: '#dea9eb',
    500: '#cd84e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd84e2;
$custom-light: #dea9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84e2",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 226
  },
  "hsl": {
    "h": 286.596,
    "s": 61.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72226,
    "c": 0.15227,
    "h": 318.4
  },
  "luminance": 0.34973
}

Semantic roles & 50–950 ramp

primary
#CD84E2
secondary
#DAEED4
accent
#CA1C43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD84E2

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

Preview Lab → · Contrast checker → · Palette generator →

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