#CC6AE8#CC6AE8

#CC6AE8 is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.6% C 0.200 H 318.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#CC6AE8
RGBrgb(204, 106, 232)
HSLhsl(287, 73%, 66%)
HSVhsv(287, 54%, 91%)
CMYKcmyk(12.1%, 54.3%, 0%, 9%)
CIE-LABlab(60.76, 57.74, -47.81)
CIE-LCHlch(60.76, 74.96, 320.38°)
OKLaboklab(68.6% 0.1492 -0.133)
OKLCHoklch(68.6% 0.2 318.3)
XYZxyz(44.6194, 28.9733, 79.5703)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AE8 #86E86A
analogous
#8D6AE8 #CC6AE8 #E86AC5
triadic
#CC6AE8 #E8CC6A #6AE8CC
tetradic
#CC6AE8 #E88D6A #86E86A #6AC5E8
square
#CC6AE8 #E88D6A #86E86A #6AC5E8
split-complementary
#CC6AE8 #C5E86A #6AE88D
monochromatic
#981DBB #BA35E0 #CC6AE8 #DE9FF0 #F0D4F8

Accessibility & contrast

On white

3.09
#CC6AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#CC6AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6AE8
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AE8#FFFFFF#000000##000000
##CC6AE81.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEC
Deuteranopia (green-blind)
#7096E5
Tritanopia (blue-blind)
#CC7D9F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6ae8;
/* rgb */ color: rgb(204, 106, 232);
/* oklch */ color: oklch(68.6% 0.200 318.3);
Tailwind
colors: {
  custom: {
    50: '#de99f0',
    500: '#cc6ae8',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ae8;
$custom-light: #de99f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ae8",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 232
  },
  "hsl": {
    "h": 286.667,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68602,
    "c": 0.19989,
    "h": 318.3
  },
  "luminance": 0.28972
}

Semantic roles & 50–950 ramp

primary
#CC6AE8
secondary
#CBEBC2
accent
#D5103C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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