#CC6AF6#CC6AF6

#CC6AF6 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.4% C 0.214 H 314.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CC6AF6
RGBrgb(204, 106, 246)
HSLhsl(282, 89%, 69%)
HSVhsv(282, 57%, 96%)
CMYKcmyk(17.1%, 56.9%, 0%, 3.5%)
CIE-LABlab(61.48, 60.54, -54.43)
CIE-LCHlch(61.48, 81.41, 318.04°)
OKLaboklab(69.37% 0.15 -0.1523)
OKLCHoklch(69.37% 0.214 314.6)
XYZxyz(46.6877, 29.8007, 90.4636)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AF6 #94F66A
analogous
#866AF6 #CC6AF6 #F66ADA
triadic
#CC6AF6 #F6CC6A #6AF6CC
tetradic
#CC6AF6 #F6866A #94F66A #6ADAF6
square
#CC6AF6 #F6866A #94F66A #6ADAF6
split-complementary
#CC6AF6 #DAF66A #6AF686
monochromatic
#9B0DD9 #B830F3 #CC6AF6 #E0A4F9 #F4DDFD

Accessibility & contrast

On white

3.02
#CC6AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CC6AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6AF6
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AF6#FFFFFF#000000##000000
##CC6AF61.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFA
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#C982A6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6af6;
/* rgb */ color: rgb(204, 106, 246);
/* oklch */ color: oklch(69.4% 0.214 314.6);
Tailwind
colors: {
  custom: {
    50: '#df99fa',
    500: '#cc6af6',
    950: '#000000',
  },
}
SCSS
$custom: #cc6af6;
$custom-light: #df99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6af6",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 246
  },
  "hsl": {
    "h": 282,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69367,
    "c": 0.21379,
    "h": 314.6
  },
  "luminance": 0.29799
}

Semantic roles & 50–950 ramp

primary
#CC6AF6
secondary
#D6F2C9
accent
#E50045
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CC6AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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