#CD84E7#CD84E7

#CD84E7 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.5% C 0.158 H 316.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CD84E7
RGBrgb(205, 132, 231)
HSLhsl(284, 67%, 71%)
HSVhsv(284, 43%, 91%)
CMYKcmyk(11.3%, 42.9%, 0%, 9.4%)
CIE-LABlab(65.94, 44.55, -39.09)
CIE-LCHlch(65.94, 59.26, 318.73°)
OKLaboklab(72.46% 0.1149 -0.108)
OKLCHoklch(72.46% 0.158 316.8)
XYZxyz(47.8498, 35.2525, 79.8696)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84E7 #9EE784
analogous
#9B84E7 #CD84E7 #E784CF
triadic
#CD84E7 #E7CD84 #84E7CD
tetradic
#CD84E7 #E79B84 #9EE784 #84CFE7
square
#CD84E7 #E79B84 #9EE784 #84CFE7
split-complementary
#CD84E7 #CFE784 #84E79B
monochromatic
#9F27C9 #B851DD #CD84E7 #E2B7F1 #F5E5FA

Accessibility & contrast

On white

2.61
#CD84E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#CD84E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84E7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84E7#FFFFFF#000000##000000
##CD84E71.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739CEB
Deuteranopia (green-blind)
#87A3E4
Tritanopia (blue-blind)
#CC91AB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd84e7;
/* rgb */ color: rgb(205, 132, 231);
/* oklch */ color: oklch(72.5% 0.158 316.8);
Tailwind
colors: {
  custom: {
    50: '#dea9ef',
    500: '#cd84e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd84e7;
$custom-light: #dea9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84e7",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 231
  },
  "hsl": {
    "h": 284.242,
    "s": 67.347,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72459,
    "c": 0.15765,
    "h": 316.8
  },
  "luminance": 0.35251
}

Semantic roles & 50–950 ramp

primary
#CD84E7
secondary
#DDF0D6
accent
#CF1647
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD84E7

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

Preview Lab → · Contrast checker → · Palette generator →

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