#CD84E1#CD84E1

#CD84E1 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.2% C 0.151 H 318.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CD84E1
RGBrgb(205, 132, 225)
HSLhsl(287, 61%, 70%)
HSVhsv(287, 41%, 88%)
CMYKcmyk(8.9%, 41.3%, 0%, 11.8%)
CIE-LABlab(65.69, 43.34, -36.17)
CIE-LCHlch(65.69, 56.45, 320.15°)
OKLaboklab(72.18% 0.1138 -0.0996)
OKLCHoklch(72.18% 0.151 318.8)
XYZxyz(47.0169, 34.9194, 75.4830)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84E1 #98E184
analogous
#9F84E1 #CD84E1 #E184C6
triadic
#CD84E1 #E1CD84 #84E1CD
tetradic
#CD84E1 #E19F84 #98E184 #84C6E1
square
#CD84E1 #E19F84 #98E184 #84C6E1
split-complementary
#CD84E1 #C6E184 #84E19F
monochromatic
#9E2EBD #B953D5 #CD84E1 #E1B5ED #F5E6F9

Accessibility & contrast

On white

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

On black

7.98
#CD84E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84E1
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84E1#FFFFFF#000000##000000
##CD84E11.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#769BE4
Deuteranopia (green-blind)
#89A2DE
Tritanopia (blue-blind)
#CE90A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd84e1;
/* rgb */ color: rgb(205, 132, 225);
/* oklch */ color: oklch(72.2% 0.151 318.8);
Tailwind
colors: {
  custom: {
    50: '#dea9ea',
    500: '#cd84e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd84e1;
$custom-light: #dea9ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84e1",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 225
  },
  "hsl": {
    "h": 287.097,
    "s": 60.784,
    "l": 70
  },
  "oklch": {
    "l": 0.7218,
    "c": 0.1512,
    "h": 318.8
  },
  "luminance": 0.34918
}

Semantic roles & 50–950 ramp

primary
#CD84E1
secondary
#D9EDD3
accent
#C81D42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD84E1

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

Preview Lab → · Contrast checker → · Palette generator →

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