#CC6DCC#CC6DCC

#CC6DCC is a light, vivid purple. Relative luminance 0.281; OKLCH L 67.6% C 0.168 H 327.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#CC6DCC
RGBrgb(204, 109, 204)
HSLhsl(300, 48%, 61%)
HSVhsv(300, 47%, 80%)
CMYKcmyk(0%, 46.6%, 0%, 20%)
CIE-LABlab(60.01, 50.98, -33.25)
CIE-LCHlch(60.01, 60.86, 326.88°)
OKLaboklab(67.62% 0.1416 -0.0911)
OKLCHoklch(67.62% 0.168 327.2)
XYZxyz(41.2688, 28.1364, 60.3722)
Luminance0.2813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6DCC #6DCC6D
analogous
#9D6DCC #CC6DCC #CC6D9D
triadic
#CC6DCC #CCCC6D #6DCCCC
tetradic
#CC6DCC #CC9D6D #6DCC6D #6D9DCC
square
#CC6DCC #CC9D6D #6DCC6D #6D9DCC
split-complementary
#CC6DCC #9DCC6D #6DCC9D
monochromatic
#8D318D #BB41BB #CC6DCC #DC9ADC #ECC8EC

Accessibility & contrast

On white

3.17
#CC6DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#CC6DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6DCC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6DCC#FFFFFF#000000##000000
##CC6DCC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589CF
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#D17793
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc6dcc;
/* rgb */ color: rgb(204, 109, 204);
/* oklch */ color: oklch(67.6% 0.168 327.2);
Tailwind
colors: {
  custom: {
    50: '#dd9adc',
    500: '#cc6dcc',
    950: '#000000',
  },
}
SCSS
$custom: #cc6dcc;
$custom-light: #dd9adc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6dcc",
  "rgb": {
    "r": 204,
    "g": 109,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67624,
    "c": 0.16834,
    "h": 327.2
  },
  "luminance": 0.28134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC6DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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