#CC6AE7#CC6AE7

#CC6AE7 is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.5% C 0.199 H 318.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CC6AE7
RGBrgb(204, 106, 231)
HSLhsl(287, 72%, 66%)
HSVhsv(287, 54%, 91%)
CMYKcmyk(11.7%, 54.1%, 0%, 9.4%)
CIE-LABlab(60.71, 57.55, -47.33)
CIE-LCHlch(60.71, 74.51, 320.57°)
OKLaboklab(68.55% 0.1491 -0.1317)
OKLCHoklch(68.55% 0.199 318.6)
XYZxyz(44.4777, 28.9167, 78.8244)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AE7 #85E76A
analogous
#8D6AE7 #CC6AE7 #E76AC3
triadic
#CC6AE7 #E7CC6A #6AE7CC
tetradic
#CC6AE7 #E78D6A #85E76A #6AC3E7
square
#CC6AE7 #E78D6A #85E76A #6AC3E7
split-complementary
#CC6AE7 #C3E76A #6AE78D
monochromatic
#971EB9 #BA35DF #CC6AE7 #DE9FEF #F0D3F8

Accessibility & contrast

On white

3.10
#CC6AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CC6AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6AE7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AE7#FFFFFF#000000##000000
##CC6AE71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEB
Deuteranopia (green-blind)
#7196E4
Tritanopia (blue-blind)
#CC7D9F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc6ae7;
/* rgb */ color: rgb(204, 106, 231);
/* oklch */ color: oklch(68.5% 0.199 318.6);
Tailwind
colors: {
  custom: {
    50: '#de99ef',
    500: '#cc6ae7',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ae7;
$custom-light: #de99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ae7",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 231
  },
  "hsl": {
    "h": 287.04,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68549,
    "c": 0.19891,
    "h": 318.6
  },
  "luminance": 0.28915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC6AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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