#CC82CE#CC82CE

#CC82CE is a light, vivid purple. Relative luminance 0.333; OKLCH L 70.9% C 0.134 H 326.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CC82CE
RGBrgb(204, 130, 206)
HSLhsl(298, 44%, 66%)
HSVhsv(298, 37%, 81%)
CMYKcmyk(1%, 36.9%, 0%, 19.2%)
CIE-LABlab(64.37, 40.43, -27.63)
CIE-LCHlch(64.37, 48.97, 325.66°)
OKLaboklab(70.91% 0.1114 -0.0753)
OKLCHoklch(70.91% 0.134 326)
XYZxyz(44.0241, 33.2607, 62.4815)
Luminance0.3326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82CE #84CE82
analogous
#A682CE #CC82CE #CE82AA
triadic
#CC82CE #CECC82 #82CECC
tetradic
#CC82CE #CEA682 #84CE82 #82AACE
square
#CC82CE #CEA682 #84CE82 #82AACE
split-complementary
#CC82CE #AACE82 #82CEA6
monochromatic
#973C99 #BA56BD #CC82CE #DEAEDF #F0DAF0

Accessibility & contrast

On white

2.74
#CC82CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CC82CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82CE
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82CE#FFFFFF#000000##000000
##CC82CE1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96D1
Deuteranopia (green-blind)
#8F9FCB
Tritanopia (blue-blind)
#D0899F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc82ce;
/* rgb */ color: rgb(204, 130, 206);
/* oklch */ color: oklch(70.9% 0.134 326.0);
Tailwind
colors: {
  custom: {
    50: '#dda8dd',
    500: '#cc82ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc82ce;
$custom-light: #dda8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82ce",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 206
  },
  "hsl": {
    "h": 298.421,
    "s": 43.678,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70912,
    "c": 0.13448,
    "h": 326
  },
  "luminance": 0.33259
}

Semantic roles & 50–950 ramp

primary
#CC82CE
secondary
#CAE2C9
accent
#B72F32
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC82CE

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

Preview Lab → · Contrast checker → · Palette generator →

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