#CC6AEA#CC6AEA

#CC6AEA is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 68.7% C 0.202 H 317.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#CC6AEA
RGBrgb(204, 106, 234)
HSLhsl(286, 75%, 67%)
HSVhsv(286, 55%, 92%)
CMYKcmyk(12.8%, 54.7%, 0%, 8.2%)
CIE-LABlab(60.86, 58.14, -48.76)
CIE-LCHlch(60.86, 75.88, 320.01°)
OKLaboklab(68.71% 0.1493 -0.1358)
OKLCHoklch(68.71% 0.202 317.7)
XYZxyz(44.9051, 29.0876, 81.0750)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AEA #88EA6A
analogous
#8C6AEA #CC6AEA #EA6AC8
triadic
#CC6AEA #EACC6A #6AEACC
tetradic
#CC6AEA #EA8C6A #88EA6A #6AC8EA
square
#CC6AEA #EA8C6A #88EA6A #6AC8EA
split-complementary
#CC6AEA #C8EA6A #6AEA8C
monochromatic
#981BBF #BA34E2 #CC6AEA #DEA0F2 #F1D5F9

Accessibility & contrast

On white

3.08
#CC6AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#CC6AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6AEA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AEA#FFFFFF#000000##000000
##CC6AEA1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#6F96E7
Tritanopia (blue-blind)
#CB7EA0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6aea;
/* rgb */ color: rgb(204, 106, 234);
/* oklch */ color: oklch(68.7% 0.202 317.7);
Tailwind
colors: {
  custom: {
    50: '#de99f1',
    500: '#cc6aea',
    950: '#000000',
  },
}
SCSS
$custom: #cc6aea;
$custom-light: #de99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6aea",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 285.938,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68709,
    "c": 0.20186,
    "h": 317.7
  },
  "luminance": 0.29086
}

Semantic roles & 50–950 ramp

primary
#CC6AEA
secondary
#CDEDC3
accent
#D70E3D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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