#CC82CB#CC82CB

#CC82CB is a light, vivid purple. Relative luminance 0.331; OKLCH L 70.8% C 0.132 H 327.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CC82CB
RGBrgb(204, 130, 203)
HSLhsl(301, 42%, 65%)
HSVhsv(301, 36%, 80%)
CMYKcmyk(0%, 36.3%, 0.5%, 20%)
CIE-LABlab(64.25, 39.87, -26.13)
CIE-LCHlch(64.25, 47.67, 326.77°)
OKLaboklab(70.79% 0.1107 -0.071)
OKLCHoklch(70.79% 0.132 327.3)
XYZxyz(43.6631, 33.1163, 60.5805)
Luminance0.3311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC82CB #82CC83
analogous
#A882CC #CC82CB #CC82A6
triadic
#CC82CB #CBCC82 #82CBCC
tetradic
#CC82CB #CCA882 #82CC83 #82A6CC
square
#CC82CB #CCA882 #82CC83 #82A6CC
split-complementary
#CC82CB #A6CC82 #82CCA8
monochromatic
#963D95 #BA57B9 #CC82CB #DEADDD #EFD9EF

Accessibility & contrast

On white

2.75
#CC82CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CC82CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC82CB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC82CB#FFFFFF#000000##000000
##CC82CB1.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CE
Deuteranopia (green-blind)
#909FC9
Tritanopia (blue-blind)
#D1899D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc82cb;
/* rgb */ color: rgb(204, 130, 203);
/* oklch */ color: oklch(70.8% 0.132 327.3);
Tailwind
colors: {
  custom: {
    50: '#dda8db',
    500: '#cc82cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc82cb;
$custom-light: #dda8db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc82cb",
  "rgb": {
    "r": 204,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 300.811,
    "s": 42.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70786,
    "c": 0.13153,
    "h": 327.3
  },
  "luminance": 0.33114
}

Semantic roles & 50–950 ramp

primary
#CC82CB
secondary
#C9E1C9
accent
#B53230
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC82CB

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

Preview Lab → · Contrast checker → · Palette generator →

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