#CC6FEC#CC6FEC

#CC6FEC is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.5% C 0.196 H 316.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CC6FEC
RGBrgb(204, 111, 236)
HSLhsl(285, 77%, 68%)
HSVhsv(285, 53%, 93%)
CMYKcmyk(13.6%, 53%, 0%, 7.5%)
CIE-LABlab(61.88, 56.08, -48.25)
CIE-LCHlch(61.88, 73.98, 319.29°)
OKLaboklab(69.49% 0.143 -0.1344)
OKLCHoklch(69.49% 0.196 316.8)
XYZxyz(45.7244, 30.2639, 82.7735)
Luminance0.3026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FEC #8FEC6F
analogous
#8D6FEC #CC6FEC #EC6FCD
triadic
#CC6FEC #ECCC6F #6FECCC
tetradic
#CC6FEC #EC8D6F #8FEC6F #6FCDEC
square
#CC6FEC #EC8D6F #8FEC6F #6FCDEC
split-complementary
#CC6FEC #CDEC6F #6FEC8D
monochromatic
#9A1AC6 #B939E5 #CC6FEC #DFA5F3 #F2DBFA

Accessibility & contrast

On white

2.98
#CC6FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CC6FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FEC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FEC#FFFFFF#000000##000000
##CC6FEC1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F0
Deuteranopia (green-blind)
#7298E9
Tritanopia (blue-blind)
#CB82A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6fec;
/* rgb */ color: rgb(204, 111, 236);
/* oklch */ color: oklch(69.5% 0.196 316.8);
Tailwind
colors: {
  custom: {
    50: '#de9cf2',
    500: '#cc6fec',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fec;
$custom-light: #de9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fec",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 284.64,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69493,
    "c": 0.19625,
    "h": 316.8
  },
  "luminance": 0.30262
}

Semantic roles & 50–950 ramp

primary
#CC6FEC
secondary
#D2EFC8
accent
#D90D41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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