#CC6FE7#CC6FE7

#CC6FE7 is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.2% C 0.191 H 318.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CC6FE7
RGBrgb(204, 111, 231)
HSLhsl(287, 71%, 67%)
HSVhsv(287, 52%, 91%)
CMYKcmyk(11.7%, 51.9%, 0%, 9.4%)
CIE-LABlab(61.63, 55.09, -45.86)
CIE-LCHlch(61.63, 71.68, 320.22°)
OKLaboklab(69.23% 0.1426 -0.1274)
OKLCHoklch(69.23% 0.191 318.2)
XYZxyz(45.0081, 29.9774, 79.0012)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FE7 #8AE76F
analogous
#906FE7 #CC6FE7 #E76FC6
triadic
#CC6FE7 #E7CC6F #6FE7CC
tetradic
#CC6FE7 #E7906F #8AE76F #6FC6E7
square
#CC6FE7 #E7906F #8AE76F #6FC6E7
split-complementary
#CC6FE7 #C6E76F #6FE790
monochromatic
#991FBC #B93BDE #CC6FE7 #DFA3F0 #F1D8F8

Accessibility & contrast

On white

3.00
#CC6FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CC6FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FE7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FE7#FFFFFF#000000##000000
##CC6FE71.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEB
Deuteranopia (green-blind)
#7598E4
Tritanopia (blue-blind)
#CC81A1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6fe7;
/* rgb */ color: rgb(204, 111, 231);
/* oklch */ color: oklch(69.2% 0.191 318.2);
Tailwind
colors: {
  custom: {
    50: '#de9cef',
    500: '#cc6fe7',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fe7;
$custom-light: #de9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fe7",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 286.5,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69231,
    "c": 0.19121,
    "h": 318.2
  },
  "luminance": 0.29976
}

Semantic roles & 50–950 ramp

primary
#CC6FE7
secondary
#CEECC6
accent
#D3123E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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