#CD84E5#CD84E5

#CD84E5 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.4% C 0.155 H 317.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#CD84E5
RGBrgb(205, 132, 229)
HSLhsl(285, 65%, 71%)
HSVhsv(285, 42%, 90%)
CMYKcmyk(10.5%, 42.4%, 0%, 10.2%)
CIE-LABlab(65.86, 44.14, -38.12)
CIE-LCHlch(65.86, 58.32, 319.19°)
OKLaboklab(72.36% 0.1145 -0.1052)
OKLCHoklch(72.36% 0.155 317.4)
XYZxyz(47.5690, 35.1402, 78.3905)
Luminance0.3514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84E5 #9CE584
analogous
#9C84E5 #CD84E5 #E584CC
triadic
#CD84E5 #E5CD84 #84E5CD
tetradic
#CD84E5 #E59C84 #9CE584 #84CCE5
square
#CD84E5 #E59C84 #9CE584 #84CCE5
split-complementary
#CD84E5 #CCE584 #84E59C
monochromatic
#9F2AC5 #B851DA #CD84E5 #E2B7F0 #F5E6FA

Accessibility & contrast

On white

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

On black

8.03
#CD84E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84E5
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84E5#FFFFFF#000000##000000
##CD84E51.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#749BE8
Deuteranopia (green-blind)
#87A2E2
Tritanopia (blue-blind)
#CD91AA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd84e5;
/* rgb */ color: rgb(205, 132, 229);
/* oklch */ color: oklch(72.4% 0.155 317.4);
Tailwind
colors: {
  custom: {
    50: '#dea9ed',
    500: '#cd84e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd84e5;
$custom-light: #dea9ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84e5",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 229
  },
  "hsl": {
    "h": 285.155,
    "s": 65.101,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72365,
    "c": 0.15549,
    "h": 317.4
  },
  "luminance": 0.35139
}

Semantic roles & 50–950 ramp

primary
#CD84E5
secondary
#DCEFD5
accent
#CD1945
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD84E5

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

Preview Lab → · Contrast checker → · Palette generator →

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