#CD84EC#CD84EC

#CD84EC is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.7% C 0.163 H 315.2°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#CD84EC
RGBrgb(205, 132, 236)
HSLhsl(282, 73%, 72%)
HSVhsv(282, 44%, 93%)
CMYKcmyk(13.1%, 44.1%, 0%, 7.5%)
CIE-LABlab(66.17, 45.57, -41.50)
CIE-LCHlch(66.17, 61.63, 317.67°)
OKLaboklab(72.7% 0.1157 -0.1149)
OKLCHoklch(72.7% 0.163 315.2)
XYZxyz(48.5661, 35.5390, 83.6420)
Luminance0.3554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84EC #A3EC84
analogous
#9984EC #CD84EC #EC84D7
triadic
#CD84EC #ECCD84 #84ECCD
tetradic
#CD84EC #EC9984 #A3EC84 #84D7EC
square
#CD84EC #EC9984 #A3EC84 #84D7EC
split-complementary
#CD84EC #D7EC84 #84EC99
monochromatic
#9F21D5 #B74FE4 #CD84EC #E3B9F4 #F4E4FB

Accessibility & contrast

On white

2.59
#CD84EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#CD84EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84EC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84EC#FFFFFF#000000##000000
##CD84EC1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CF0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#CB93AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd84ec;
/* rgb */ color: rgb(205, 132, 236);
/* oklch */ color: oklch(72.7% 0.163 315.2);
Tailwind
colors: {
  custom: {
    50: '#dea9f2',
    500: '#cd84ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd84ec;
$custom-light: #dea9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84ec",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 282.115,
    "s": 73.239,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72697,
    "c": 0.1631,
    "h": 315.2
  },
  "luminance": 0.35538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD84EC

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

Preview Lab → · Contrast checker → · Palette generator →

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