#CD82E2#CD82E2

#CD82E2 is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.9% C 0.156 H 318.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#CD82E2
RGBrgb(205, 130, 226)
HSLhsl(287, 62%, 70%)
HSVhsv(287, 42%, 89%)
CMYKcmyk(9.3%, 42.5%, 0%, 11.4%)
CIE-LABlab(65.31, 44.60, -37.31)
CIE-LCHlch(65.31, 58.15, 320.08°)
OKLaboklab(71.91% 0.1168 -0.1029)
OKLCHoklch(71.91% 0.156 318.6)
XYZxyz(46.8851, 34.4369, 76.1140)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82E2 #97E282
analogous
#9D82E2 #CD82E2 #E282C7
triadic
#CD82E2 #E2CD82 #82E2CD
tetradic
#CD82E2 #E29D82 #97E282 #82C7E2
square
#CD82E2 #E29D82 #97E282 #82C7E2
split-complementary
#CD82E2 #C7E282 #82E29D
monochromatic
#9E2CBE #B950D6 #CD82E2 #E1B4EE #F5E5F9

Accessibility & contrast

On white

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

On black

7.89
#CD82E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82E2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82E2#FFFFFF#000000##000000
##CD82E21.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE5
Deuteranopia (green-blind)
#87A1DF
Tritanopia (blue-blind)
#CD8EA7
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd82e2;
/* rgb */ color: rgb(205, 130, 226);
/* oklch */ color: oklch(71.9% 0.156 318.6);
Tailwind
colors: {
  custom: {
    50: '#dea8eb',
    500: '#cd82e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd82e2;
$custom-light: #dea8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82e2",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 226
  },
  "hsl": {
    "h": 286.875,
    "s": 62.338,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71911,
    "c": 0.15565,
    "h": 318.6
  },
  "luminance": 0.34435
}

Semantic roles & 50–950 ramp

primary
#CD82E2
secondary
#D8EDD2
accent
#CA1B42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD82E2

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

Preview Lab → · Contrast checker → · Palette generator →

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