#CD82EA#CD82EA

#CD82EA is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.3% C 0.164 H 316.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CD82EA
RGBrgb(205, 130, 234)
HSLhsl(283, 71%, 71%)
HSVhsv(283, 44%, 92%)
CMYKcmyk(12.4%, 44.4%, 0%, 8.2%)
CIE-LABlab(65.66, 46.21, -41.19)
CIE-LCHlch(65.66, 61.91, 318.29°)
OKLaboklab(72.29% 0.1182 -0.114)
OKLCHoklch(72.29% 0.164 316)
XYZxyz(48.0085, 34.8862, 82.0307)
Luminance0.3488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82EA #9FEA82
analogous
#9982EA #CD82EA #EA82D3
triadic
#CD82EA #EACD82 #82EACD
tetradic
#CD82EA #EA9982 #9FEA82 #82D3EA
square
#CD82EA #EA9982 #9FEA82 #82D3EA
split-complementary
#CD82EA #D3EA82 #82EA99
monochromatic
#9F23CF #B84EE1 #CD82EA #E2B6F3 #F5E5FB

Accessibility & contrast

On white

2.63
#CD82EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#CD82EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82EA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82EA#FFFFFF#000000##000000
##CD82EA1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#83A2E7
Tritanopia (blue-blind)
#CC91AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd82ea;
/* rgb */ color: rgb(205, 130, 234);
/* oklch */ color: oklch(72.3% 0.164 316.0);
Tailwind
colors: {
  custom: {
    50: '#dea8f1',
    500: '#cd82ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd82ea;
$custom-light: #dea8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82ea",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 283.269,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7229,
    "c": 0.16423,
    "h": 316
  },
  "luminance": 0.34885
}

Semantic roles & 50–950 ramp

primary
#CD82EA
secondary
#DEF1D6
accent
#D31248
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD82EA

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

Preview Lab → · Contrast checker → · Palette generator →

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