#CD82E4#CD82E4

#CD82E4 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.0% C 0.158 H 318.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#CD82E4
RGBrgb(205, 130, 228)
HSLhsl(286, 64%, 70%)
HSVhsv(286, 43%, 89%)
CMYKcmyk(10.1%, 43%, 0%, 10.6%)
CIE-LABlab(65.39, 45.00, -38.29)
CIE-LCHlch(65.39, 59.08, 319.61°)
OKLaboklab(72% 0.1172 -0.1057)
OKLCHoklch(72% 0.158 318)
XYZxyz(47.1611, 34.5473, 77.5677)
Luminance0.3455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82E4 #99E482
analogous
#9C82E4 #CD82E4 #E482CA
triadic
#CD82E4 #E4CD82 #82E4CD
tetradic
#CD82E4 #E49C82 #99E482 #82CAE4
square
#CD82E4 #E49C82 #99E482 #82CAE4
split-complementary
#CD82E4 #CAE482 #82E49C
monochromatic
#9E2AC2 #B950D9 #CD82E4 #E1B4EF #F5E6FA

Accessibility & contrast

On white

2.66
#CD82E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#CD82E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82E4
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82E4#FFFFFF#000000##000000
##CD82E41.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#729AE8
Deuteranopia (green-blind)
#86A1E1
Tritanopia (blue-blind)
#CD8FA8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd82e4;
/* rgb */ color: rgb(205, 130, 228);
/* oklch */ color: oklch(72.0% 0.158 318.0);
Tailwind
colors: {
  custom: {
    50: '#dea8ed',
    500: '#cd82e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd82e4;
$custom-light: #dea8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82e4",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 228
  },
  "hsl": {
    "h": 285.918,
    "s": 64.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72004,
    "c": 0.15778,
    "h": 318
  },
  "luminance": 0.34546
}

Semantic roles & 50–950 ramp

primary
#CD82E4
secondary
#DAEED3
accent
#CC1943
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD82E4

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

Preview Lab → · Contrast checker → · Palette generator →

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