#CC6FE6#CC6FE6

#CC6FE6 is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.2% C 0.190 H 318.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CC6FE6
RGBrgb(204, 111, 230)
HSLhsl(287, 70%, 67%)
HSVhsv(287, 52%, 90%)
CMYKcmyk(11.3%, 51.7%, 0%, 9.8%)
CIE-LABlab(61.59, 54.89, -45.38)
CIE-LCHlch(61.59, 71.22, 320.42°)
OKLaboklab(69.18% 0.1425 -0.126)
OKLCHoklch(69.18% 0.19 318.5)
XYZxyz(44.8673, 29.9211, 78.2595)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FE6 #89E66F
analogous
#916FE6 #CC6FE6 #E66FC4
triadic
#CC6FE6 #E6CC6F #6FE6CC
tetradic
#CC6FE6 #E6916F #89E66F #6FC4E6
square
#CC6FE6 #E6916F #89E66F #6FC4E6
split-complementary
#CC6FE6 #C4E66F #6FE691
monochromatic
#9920BA #BA3BDD #CC6FE6 #DEA3EF #F1D7F8

Accessibility & contrast

On white

3.01
#CC6FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CC6FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6FE6
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FE6#FFFFFF#000000##000000
##CC6FE61.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEA
Deuteranopia (green-blind)
#7598E3
Tritanopia (blue-blind)
#CC80A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6fe6;
/* rgb */ color: rgb(204, 111, 230);
/* oklch */ color: oklch(69.2% 0.190 318.5);
Tailwind
colors: {
  custom: {
    50: '#de9cee',
    500: '#cc6fe6',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fe6;
$custom-light: #de9cee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fe6",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 286.891,
    "s": 70.414,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69179,
    "c": 0.19021,
    "h": 318.5
  },
  "luminance": 0.29919
}

Semantic roles & 50–950 ramp

primary
#CC6FE6
secondary
#CEEBC5
accent
#D2133D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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