#CC6CE3#CC6CE3

#CC6CE3 is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.6% C 0.192 H 319.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#CC6CE3
RGBrgb(204, 108, 227)
HSLhsl(288, 68%, 66%)
HSVhsv(288, 52%, 89%)
CMYKcmyk(10.1%, 52.4%, 0%, 11%)
CIE-LABlab(60.88, 55.79, -44.82)
CIE-LCHlch(60.88, 71.57, 321.22°)
OKLaboklab(68.61% 0.1461 -0.1244)
OKLCHoklch(68.61% 0.192 319.6)
XYZxyz(44.1278, 29.1103, 75.9526)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CE3 #83E36C
analogous
#906CE3 #CC6CE3 #E36CBF
triadic
#CC6CE3 #E3CC6C #6CE3CC
tetradic
#CC6CE3 #E3906C #83E36C #6CBFE3
square
#CC6CE3 #E3906C #83E36C #6CBFE3
split-complementary
#CC6CE3 #BFE36C #6CE390
monochromatic
#9722B3 #BA39D9 #CC6CE3 #DE9FED #F0D3F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC6CE3#FFFFFF#000000##000000
##CC6CE31.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)
#568CE7
Deuteranopia (green-blind)
#7496E0
Tritanopia (blue-blind)
#CD7D9E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6ce3;
/* rgb */ color: rgb(204, 108, 227);
/* oklch */ color: oklch(68.6% 0.192 319.6);
Tailwind
colors: {
  custom: {
    50: '#de9aec',
    500: '#cc6ce3',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ce3;
$custom-light: #de9aec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ce3",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 227
  },
  "hsl": {
    "h": 288.403,
    "s": 68,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6861,
    "c": 0.1919,
    "h": 319.6
  },
  "luminance": 0.29109
}

Semantic roles & 50–950 ramp

primary
#CC6CE3
secondary
#C9E9C2
accent
#D0163A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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