#CD84EE#CD84EE

#CD84EE is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.8% C 0.165 H 314.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#CD84EE
RGBrgb(205, 132, 238)
HSLhsl(281, 76%, 73%)
HSVhsv(281, 45%, 93%)
CMYKcmyk(13.9%, 44.5%, 0%, 6.7%)
CIE-LABlab(66.26, 45.98, -42.46)
CIE-LCHlch(66.26, 62.59, 317.28°)
OKLaboklab(72.79% 0.1161 -0.1177)
OKLCHoklch(72.79% 0.165 314.6)
XYZxyz(48.8583, 35.6559, 85.1809)
Luminance0.3565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84EE #A5EE84
analogous
#9884EE #CD84EE #EE84DA
triadic
#CD84EE #EECD84 #84EECD
tetradic
#CD84EE #EE9884 #A5EE84 #84DAEE
square
#CD84EE #EE9884 #A5EE84 #84DAEE
split-complementary
#CD84EE #DAEE84 #84EE98
monochromatic
#9F1EDA #B74EE7 #CD84EE #E3BAF5 #F4E4FB

Accessibility & contrast

On white

2.58
#CD84EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#CD84EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84EE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84EE#FFFFFF#000000##000000
##CD84EE1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#709DF2
Deuteranopia (green-blind)
#83A3EB
Tritanopia (blue-blind)
#CB93AE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd84ee;
/* rgb */ color: rgb(205, 132, 238);
/* oklch */ color: oklch(72.8% 0.165 314.6);
Tailwind
colors: {
  custom: {
    50: '#dea9f4',
    500: '#cd84ee',
    950: '#000000',
  },
}
SCSS
$custom: #cd84ee;
$custom-light: #dea9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84ee",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 238
  },
  "hsl": {
    "h": 281.321,
    "s": 75.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72794,
    "c": 0.1653,
    "h": 314.6
  },
  "luminance": 0.35655
}

Semantic roles & 50–950 ramp

primary
#CD84EE
secondary
#E0F3D8
accent
#D80E4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD84EE

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

Preview Lab → · Contrast checker → · Palette generator →

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