#CC6ABC#CC6ABC

#CC6ABC is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.5% C 0.159 H 333.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CC6ABC
RGBrgb(204, 106, 188)
HSLhsl(310, 49%, 61%)
HSVhsv(310, 48%, 80%)
CMYKcmyk(0%, 48%, 7.8%, 20%)
CIE-LABlab(58.77, 49.69, -26.08)
CIE-LCHlch(58.77, 56.12, 332.31°)
OKLaboklab(66.48% 0.1427 -0.0707)
OKLCHoklch(66.48% 0.159 333.7)
XYZxyz(39.1329, 26.7787, 50.6748)
Luminance0.2678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6ABC #6ACC7A
analogous
#AB6ACC #CC6ABC #CC6A8B
triadic
#CC6ABC #BCCC6A #6ABCCC
tetradic
#CC6ABC #CCAB6A #6ACC7A #6A8BCC
square
#CC6ABC #CCAB6A #6ACC7A #6A8BCC
split-complementary
#CC6ABC #8BCC6A #6ACCAB
monochromatic
#8C307D #B93FA5 #CC6ABC #DC98D1 #EBC5E5

Accessibility & contrast

On white

3.30
#CC6ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CC6ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6ABC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6ABC#FFFFFF#000000##000000
##CC6ABC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BF
Deuteranopia (green-blind)
#8493B9
Tritanopia (blue-blind)
#D4708A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc6abc;
/* rgb */ color: rgb(204, 106, 188);
/* oklch */ color: oklch(66.5% 0.159 333.7);
Tailwind
colors: {
  custom: {
    50: '#dd98d0',
    500: '#cc6abc',
    950: '#000000',
  },
}
SCSS
$custom: #cc6abc;
$custom-light: #dd98d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6abc",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 309.796,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.15925,
    "h": 333.7
  },
  "luminance": 0.26776
}

Semantic roles & 50–950 ramp

primary
#CC6ABC
secondary
#B6DBBC
accent
#BC4129
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E14
muted
#837E82

Preview Lab

Preview with #CC6ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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