#CD84E9#CD84E9

#CD84E9 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.6% C 0.160 H 316.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CD84E9
RGBrgb(205, 132, 233)
HSLhsl(283, 70%, 72%)
HSVhsv(283, 43%, 91%)
CMYKcmyk(12%, 43.3%, 0%, 8.6%)
CIE-LABlab(66.03, 44.95, -40.06)
CIE-LCHlch(66.03, 60.21, 318.30°)
OKLaboklab(72.55% 0.1152 -0.1108)
OKLCHoklch(72.55% 0.16 316.1)
XYZxyz(48.1339, 35.3662, 81.3658)
Luminance0.3537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84E9 #A0E984
analogous
#9B84E9 #CD84E9 #E984D3
triadic
#CD84E9 #E9CD84 #84E9CD
tetradic
#CD84E9 #E99B84 #A0E984 #84D3E9
square
#CD84E9 #E99B84 #A0E984 #84D3E9
split-complementary
#CD84E9 #D3E984 #84E99B
monochromatic
#9F25CE #B850E0 #CD84E9 #E2B8F2 #F4E5FA

Accessibility & contrast

On white

2.60
#CD84E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#CD84E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84E9
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84E9#FFFFFF#000000##000000
##CD84E91.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CED
Deuteranopia (green-blind)
#86A3E6
Tritanopia (blue-blind)
#CC92AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd84e9;
/* rgb */ color: rgb(205, 132, 233);
/* oklch */ color: oklch(72.6% 0.160 316.1);
Tailwind
colors: {
  custom: {
    50: '#dea9f0',
    500: '#cd84e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd84e9;
$custom-light: #dea9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84e9",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 233
  },
  "hsl": {
    "h": 283.366,
    "s": 69.655,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72554,
    "c": 0.15983,
    "h": 316.1
  },
  "luminance": 0.35365
}

Semantic roles & 50–950 ramp

primary
#CD84E9
secondary
#DFF1D7
accent
#D21448
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD84E9

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

Preview Lab → · Contrast checker → · Palette generator →

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