#CD82DE#CD82DE

#CD82DE is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.7% C 0.151 H 320.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CD82DE
RGBrgb(205, 130, 222)
HSLhsl(289, 58%, 69%)
HSVhsv(289, 41%, 87%)
CMYKcmyk(7.7%, 41.4%, 0%, 12.9%)
CIE-LABlab(65.14, 43.81, -35.36)
CIE-LCHlch(65.14, 56.30, 321.09°)
OKLaboklab(71.73% 0.1161 -0.0973)
OKLCHoklch(71.73% 0.151 320)
XYZxyz(46.3426, 34.2199, 73.2570)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82DE #93DE82
analogous
#9F82DE #CD82DE #DE82C1
triadic
#CD82DE #DECD82 #82DECD
tetradic
#CD82DE #DE9F82 #93DE82 #82C1DE
square
#CD82DE #DE9F82 #93DE82 #82C1DE
split-complementary
#CD82DE #C1DE82 #82DE9F
monochromatic
#9D30B6 #BA52D1 #CD82DE #E0B2EB #F4E3F8

Accessibility & contrast

On white

2.68
#CD82DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#CD82DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82DE
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82DE#FFFFFF#000000##000000
##CD82DE1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E1
Deuteranopia (green-blind)
#89A1DB
Tritanopia (blue-blind)
#CE8DA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd82de;
/* rgb */ color: rgb(205, 130, 222);
/* oklch */ color: oklch(71.7% 0.151 320.0);
Tailwind
colors: {
  custom: {
    50: '#dea8e8',
    500: '#cd82de',
    950: '#000000',
  },
}
SCSS
$custom: #cd82de;
$custom-light: #dea8e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82de",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 222
  },
  "hsl": {
    "h": 288.913,
    "s": 58.228,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71726,
    "c": 0.15142,
    "h": 320
  },
  "luminance": 0.34218
}

Semantic roles & 50–950 ramp

primary
#CD82DE
secondary
#D5EBD0
accent
#C6203E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD82DE

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

Preview Lab → · Contrast checker → · Palette generator →

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