#CD82E8#CD82E8

#CD82E8 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.2% C 0.162 H 316.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CD82E8
RGBrgb(205, 130, 232)
HSLhsl(284, 69%, 71%)
HSVhsv(284, 44%, 91%)
CMYKcmyk(11.6%, 44%, 0%, 9%)
CIE-LABlab(65.57, 45.81, -40.23)
CIE-LCHlch(65.57, 60.96, 318.71°)
OKLaboklab(72.19% 0.1179 -0.1112)
OKLCHoklch(72.19% 0.162 316.7)
XYZxyz(47.7228, 34.7720, 80.5260)
Luminance0.3477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD82E8 #9DE882
analogous
#9A82E8 #CD82E8 #E882D0
triadic
#CD82E8 #E8CD82 #82E8CD
tetradic
#CD82E8 #E89A82 #9DE882 #82D0E8
square
#CD82E8 #E89A82 #9DE882 #82D0E8
split-complementary
#CD82E8 #D0E882 #82E89A
monochromatic
#9F25CA #B84EDE #CD82E8 #E2B6F2 #F5E5FA

Accessibility & contrast

On white

2.64
#CD82E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CD82E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD82E8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD82E8#FFFFFF#000000##000000
##CD82E81.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEC
Deuteranopia (green-blind)
#84A2E5
Tritanopia (blue-blind)
#CC90AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd82e8;
/* rgb */ color: rgb(205, 130, 232);
/* oklch */ color: oklch(72.2% 0.162 316.7);
Tailwind
colors: {
  custom: {
    50: '#dea8ef',
    500: '#cd82e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd82e8;
$custom-light: #dea8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd82e8",
  "rgb": {
    "r": 205,
    "g": 130,
    "b": 232
  },
  "hsl": {
    "h": 284.118,
    "s": 68.919,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72194,
    "c": 0.16207,
    "h": 316.7
  },
  "luminance": 0.34771
}

Semantic roles & 50–950 ramp

primary
#CD82E8
secondary
#DDF0D5
accent
#D11546
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD82E8

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

Preview Lab → · Contrast checker → · Palette generator →

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