#CC6FE4#CC6FE4

#CC6FE4 is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.1% C 0.188 H 319.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CC6FE4
RGBrgb(204, 111, 228)
HSLhsl(288, 68%, 66%)
HSVhsv(288, 51%, 89%)
CMYKcmyk(10.5%, 51.3%, 0%, 10.6%)
CIE-LABlab(61.49, 54.50, -44.42)
CIE-LCHlch(61.49, 70.31, 320.82°)
OKLaboklab(69.08% 0.1422 -0.1233)
OKLCHoklch(69.08% 0.188 319.1)
XYZxyz(44.5880, 29.8094, 76.7888)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FE4 #87E46F
analogous
#926FE4 #CC6FE4 #E46FC2
triadic
#CC6FE4 #E4CC6F #6FE4CC
tetradic
#CC6FE4 #E4926F #87E46F #6FC2E4
square
#CC6FE4 #E4926F #87E46F #6FC2E4
split-complementary
#CC6FE4 #C2E46F #6FE492
monochromatic
#9822B6 #BA3BDA #CC6FE4 #DEA3EE #F1D6F7

Accessibility & contrast

On white

3.02
#CC6FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CC6FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6FE4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FE4#FFFFFF#000000##000000
##CC6FE41.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE8
Deuteranopia (green-blind)
#7698E1
Tritanopia (blue-blind)
#CD809F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6fe4;
/* rgb */ color: rgb(204, 111, 228);
/* oklch */ color: oklch(69.1% 0.188 319.1);
Tailwind
colors: {
  custom: {
    50: '#de9ced',
    500: '#cc6fe4',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fe4;
$custom-light: #de9ced;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fe4",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 287.692,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69076,
    "c": 0.18821,
    "h": 319.1
  },
  "luminance": 0.29808
}

Semantic roles & 50–950 ramp

primary
#CC6FE4
secondary
#CCEAC4
accent
#D0153C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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