#CC6AED#CC6AED

#CC6AED is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 68.9% C 0.205 H 316.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#CC6AED
RGBrgb(204, 106, 237)
HSLhsl(285, 78%, 67%)
HSVhsv(285, 55%, 93%)
CMYKcmyk(13.9%, 55.3%, 0%, 7.1%)
CIE-LABlab(61.01, 58.73, -50.19)
CIE-LCHlch(61.01, 77.25, 319.48°)
OKLaboklab(68.87% 0.1495 -0.14)
OKLCHoklch(68.87% 0.205 316.9)
XYZxyz(45.3397, 29.2615, 83.3640)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6AED #8BED6A
analogous
#8A6AED #CC6AED #ED6ACD
triadic
#CC6AED #EDCC6A #6AEDCC
tetradic
#CC6AED #ED8A6A #8BED6A #6ACDED
square
#CC6AED #ED8A6A #8BED6A #6ACDED
split-complementary
#CC6AED #CDED6A #6AED8A
monochromatic
#9918C5 #B933E6 #CC6AED #DFA1F4 #F1D7FA

Accessibility & contrast

On white

3.06
#CC6AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#CC6AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6AED
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6AED#FFFFFF#000000##000000
##CC6AED1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF1
Deuteranopia (green-blind)
#6D96EA
Tritanopia (blue-blind)
#CB7FA2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6aed;
/* rgb */ color: rgb(204, 106, 237);
/* oklch */ color: oklch(68.9% 0.205 316.9);
Tailwind
colors: {
  custom: {
    50: '#de99f3',
    500: '#cc6aed',
    950: '#000000',
  },
}
SCSS
$custom: #cc6aed;
$custom-light: #de99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6aed",
  "rgb": {
    "r": 204,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 284.885,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6887,
    "c": 0.20483,
    "h": 316.9
  },
  "luminance": 0.2926
}

Semantic roles & 50–950 ramp

primary
#CC6AED
secondary
#CFEEC5
accent
#DB0B3F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6AED

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

Preview Lab → · Contrast checker → · Palette generator →

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