#CD82E5#CD82E5

#CD82E5 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.1% C 0.159 H 317.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CD82E5
RGBrgb(205, 130, 229)
HSLhsl(285, 66%, 70%)
HSVhsv(285, 43%, 90%)
CMYKcmyk(10.5%, 43.2%, 0%, 10.2%)
CIE-LABlab(65.44, 45.20, -38.77)
CIE-LCHlch(65.44, 59.55, 319.38°)
OKLaboklab(72.05% 0.1174 -0.1071)
OKLCHoklch(72.05% 0.159 317.6)
XYZxyz(47.3003, 34.6030, 78.3009)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82E5 #9AE582
analogous
#9C82E5 #CD82E5 #E582CB
triadic
#CD82E5 #E5CD82 #82E5CD
tetradic
#CD82E5 #E59C82 #9AE582 #82CBE5
square
#CD82E5 #E59C82 #9AE582 #82CBE5
split-complementary
#CD82E5 #CBE582 #82E59C
monochromatic
#9E29C4 #B94FDA #CD82E5 #E1B5F0 #F5E6FA

Accessibility & contrast

On white

2.65
#CD82E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CD82E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82E5
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82E5#FFFFFF#000000##000000
##CD82E51.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729AE9
Deuteranopia (green-blind)
#86A1E2
Tritanopia (blue-blind)
#CD8FA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd82e5;
/* rgb */ color: rgb(205, 130, 229);
/* oklch */ color: oklch(72.1% 0.159 317.6);
Tailwind
colors: {
  custom: {
    50: '#dea8ed',
    500: '#cd82e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd82e5;
$custom-light: #dea8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82e5",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 229
  },
  "hsl": {
    "h": 285.455,
    "s": 65.563,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72051,
    "c": 0.15885,
    "h": 317.6
  },
  "luminance": 0.34602
}

Semantic roles & 50–950 ramp

primary
#CD82E5
secondary
#DAEFD4
accent
#CD1844
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD82E5

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

Preview Lab → · Contrast checker → · Palette generator →

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