#CC6CCC#CC6CCC

#CC6CCC is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.5% C 0.170 H 327.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#CC6CCC
RGBrgb(204, 108, 204)
HSLhsl(300, 48%, 61%)
HSVhsv(300, 47%, 80%)
CMYKcmyk(0%, 47.1%, 0%, 20%)
CIE-LABlab(59.82, 51.48, -33.55)
CIE-LCHlch(59.82, 61.45, 326.91°)
OKLaboklab(67.48% 0.143 -0.0919)
OKLCHoklch(67.48% 0.17 327.3)
XYZxyz(41.1628, 27.9243, 60.3368)
Luminance0.2792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CCC #6CCC6C
analogous
#9C6CCC #CC6CCC #CC6C9C
triadic
#CC6CCC #CCCC6C #6CCCCC
tetradic
#CC6CCC #CC9C6C #6CCC6C #6C9CCC
square
#CC6CCC #CC9C6C #6CCC6C #6C9CCC
split-complementary
#CC6CCC #9CCC6C #6CCC9C
monochromatic
#8D318D #BA41BA #CC6CCC #DC99DC #ECC7EC

Accessibility & contrast

On white

3.19
#CC6CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#CC6CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6CCC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CCC#FFFFFF#000000##000000
##CC6CCC1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388CF
Deuteranopia (green-blind)
#7F95C9
Tritanopia (blue-blind)
#D17693
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc6ccc;
/* rgb */ color: rgb(204, 108, 204);
/* oklch */ color: oklch(67.5% 0.170 327.3);
Tailwind
colors: {
  custom: {
    50: '#de99dc',
    500: '#cc6ccc',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ccc;
$custom-light: #de99dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ccc",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67482,
    "c": 0.16998,
    "h": 327.3
  },
  "luminance": 0.27922
}

Semantic roles & 50–950 ramp

primary
#CC6CCC
secondary
#B8DCB8
accent
#BC2A2A
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC6CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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