#CC6AE5#CC6AE5

#CC6AE5 is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.4% C 0.197 H 319.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CC6AE5
RGBrgb(204, 106, 229)
HSLhsl(288, 70%, 66%)
HSVhsv(288, 54%, 90%)
CMYKcmyk(10.9%, 53.7%, 0%, 10.2%)
CIE-LABlab(60.61, 57.16, -46.37)
CIE-LCHlch(60.61, 73.60, 320.95°)
OKLaboklab(68.44% 0.1489 -0.1289)
OKLCHoklch(68.44% 0.197 319.1)
XYZxyz(44.1969, 28.8043, 77.3452)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AE5 #83E56A
analogous
#8E6AE5 #CC6AE5 #E56AC0
triadic
#CC6AE5 #E5CC6A #6AE5CC
tetradic
#CC6AE5 #E58E6A #83E56A #6AC0E5
square
#CC6AE5 #E58E6A #83E56A #6AC0E5
split-complementary
#CC6AE5 #C0E56A #6AE58E
monochromatic
#9720B5 #BA36DC #CC6AE5 #DE9EEE #F0D2F7

Accessibility & contrast

On white

3.11
#CC6AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#CC6AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6AE5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AE5#FFFFFF#000000##000000
##CC6AE51.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE9
Deuteranopia (green-blind)
#7296E2
Tritanopia (blue-blind)
#CC7C9E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc6ae5;
/* rgb */ color: rgb(204, 106, 229);
/* oklch */ color: oklch(68.4% 0.197 319.1);
Tailwind
colors: {
  custom: {
    50: '#de98ee',
    500: '#cc6ae5',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ae5;
$custom-light: #de98ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ae5",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 287.805,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68444,
    "c": 0.19695,
    "h": 319.1
  },
  "luminance": 0.28803
}

Semantic roles & 50–950 ramp

primary
#CC6AE5
secondary
#C9EAC1
accent
#D2133A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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