#CC82E9#CC82E9

#CC82E9 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.1% C 0.163 H 315.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CC82E9
RGBrgb(204, 130, 233)
HSLhsl(283, 70%, 71%)
HSVhsv(283, 44%, 91%)
CMYKcmyk(12.4%, 44.2%, 0%, 8.6%)
CIE-LABlab(65.50, 45.72, -40.89)
CIE-LCHlch(65.50, 61.34, 318.19°)
OKLaboklab(72.13% 0.1169 -0.1132)
OKLCHoklch(72.13% 0.163 315.9)
XYZxyz(47.5902, 34.6871, 81.2633)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82E9 #9FE982
analogous
#9882E9 #CC82E9 #E982D2
triadic
#CC82E9 #E9CC82 #82E9CC
tetradic
#CC82E9 #E99882 #9FE982 #82D2E9
square
#CC82E9 #E99882 #9FE982 #82D2E9
split-complementary
#CC82E9 #D2E982 #82E998
monochromatic
#9D24CD #B74EE0 #CC82E9 #E1B6F2 #F4E5FA

Accessibility & contrast

On white

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

On black

7.94
#CC82E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82E9
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82E9#FFFFFF#000000##000000
##CC82E91.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BED
Deuteranopia (green-blind)
#83A1E6
Tritanopia (blue-blind)
#CB90AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc82e9;
/* rgb */ color: rgb(204, 130, 233);
/* oklch */ color: oklch(72.1% 0.163 315.9);
Tailwind
colors: {
  custom: {
    50: '#dda8f0',
    500: '#cc82e9',
    950: '#000000',
  },
}
SCSS
$custom: #cc82e9;
$custom-light: #dda8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82e9",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 233
  },
  "hsl": {
    "h": 283.107,
    "s": 70.068,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72134,
    "c": 0.16268,
    "h": 315.9
  },
  "luminance": 0.34686
}

Semantic roles & 50–950 ramp

primary
#CC82E9
secondary
#DDF1D6
accent
#D21349
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC82E9

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

Preview Lab → · Contrast checker → · Palette generator →

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