#CC6CE7#CC6CE7

#CC6CE7 is a light, vivid purple. Relative luminance 0.293; OKLCH L 68.8% C 0.196 H 318.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CC6CE7
RGBrgb(204, 108, 231)
HSLhsl(287, 72%, 66%)
HSVhsv(287, 53%, 91%)
CMYKcmyk(11.7%, 53.2%, 0%, 9.4%)
CIE-LABlab(61.08, 56.57, -46.75)
CIE-LCHlch(61.08, 73.39, 320.43°)
OKLaboklab(68.82% 0.1465 -0.13)
OKLCHoklch(68.82% 0.196 318.4)
XYZxyz(44.6863, 29.3337, 78.8939)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CE7 #87E76C
analogous
#8F6CE7 #CC6CE7 #E76CC5
triadic
#CC6CE7 #E7CC6C #6CE7CC
tetradic
#CC6CE7 #E78F6C #87E76C #6CC5E7
square
#CC6CE7 #E78F6C #87E76C #6CC5E7
split-complementary
#CC6CE7 #C5E76C #6CE78F
monochromatic
#981EBA #BA37DE #CC6CE7 #DEA1F0 #F1D5F8

Accessibility & contrast

On white

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

On black

6.87
#CC6CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6CE7
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CE7#FFFFFF#000000##000000
##CC6CE71.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#538DEB
Deuteranopia (green-blind)
#7297E4
Tritanopia (blue-blind)
#CC7EA0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc6ce7;
/* rgb */ color: rgb(204, 108, 231);
/* oklch */ color: oklch(68.8% 0.196 318.4);
Tailwind
colors: {
  custom: {
    50: '#de9aef',
    500: '#cc6ce7',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ce7;
$custom-light: #de9aef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ce7",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 286.829,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68819,
    "c": 0.19586,
    "h": 318.4
  },
  "luminance": 0.29332
}

Semantic roles & 50–950 ramp

primary
#CC6CE7
secondary
#CCEBC3
accent
#D4123C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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