#CC6ACC#CC6ACC

#CC6ACC is a light, vivid purple. Relative luminance 0.275; OKLCH L 67.2% C 0.173 H 327.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CC6ACC
RGBrgb(204, 106, 204)
HSLhsl(300, 49%, 61%)
HSVhsv(300, 48%, 80%)
CMYKcmyk(0%, 48%, 0%, 20%)
CIE-LABlab(59.44, 52.47, -34.14)
CIE-LCHlch(59.44, 62.60, 326.95°)
OKLaboklab(67.2% 0.1458 -0.0936)
OKLCHoklch(67.2% 0.173 327.3)
XYZxyz(40.9542, 27.5073, 60.2673)
Luminance0.2751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6ACC #6ACC6A
analogous
#9B6ACC #CC6ACC #CC6A9B
triadic
#CC6ACC #CCCC6A #6ACCCC
tetradic
#CC6ACC #CC9B6A #6ACC6A #6A9BCC
square
#CC6ACC #CC9B6A #6ACC6A #6A9BCC
split-complementary
#CC6ACC #9BCC6A #6ACC9B
monochromatic
#8C308C #B93FB9 #CC6ACC #DC98DC #EBC5EB

Accessibility & contrast

On white

3.23
#CC6ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CC6ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6ACC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6ACC#FFFFFF#000000##000000
##CC6ACC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#7E94C9
Tritanopia (blue-blind)
#D17492
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc6acc;
/* rgb */ color: rgb(204, 106, 204);
/* oklch */ color: oklch(67.2% 0.173 327.3);
Tailwind
colors: {
  custom: {
    50: '#de98dc',
    500: '#cc6acc',
    950: '#000000',
  },
}
SCSS
$custom: #cc6acc;
$custom-light: #de98dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6acc",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67201,
    "c": 0.17324,
    "h": 327.3
  },
  "luminance": 0.27505
}

Semantic roles & 50–950 ramp

primary
#CC6ACC
secondary
#B6DBB6
accent
#BC2929
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC6ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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