#CC6EEB#CC6EEB

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

Color values

HEX#CC6EEB
RGBrgb(204, 110, 235)
HSLhsl(285, 76%, 68%)
HSVhsv(285, 53%, 92%)
CMYKcmyk(13.2%, 53.2%, 0%, 7.8%)
CIE-LABlab(61.64, 56.38, -48.07)
CIE-LCHlch(61.64, 74.09, 319.55°)
OKLaboklab(69.3% 0.1442 -0.1338)
OKLCHoklch(69.3% 0.197 317.1)
XYZxyz(45.4710, 29.9890, 81.9744)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EEB #8DEB6E
analogous
#8D6EEB #CC6EEB #EB6ECC
triadic
#CC6EEB #EBCC6E #6EEBCC
tetradic
#CC6EEB #EB8D6E #8DEB6E #6ECCEB
square
#CC6EEB #EB8D6E #8DEB6E #6ECCEB
split-complementary
#CC6EEB #CCEB6E #6EEB8D
monochromatic
#9A1BC4 #B938E4 #CC6EEB #DFA4F2 #F2DAFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC6EEB#FFFFFF#000000##000000
##CC6EEB1.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)
#538FEF
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#CB81A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6eeb;
/* rgb */ color: rgb(204, 110, 235);
/* oklch */ color: oklch(69.3% 0.197 317.1);
Tailwind
colors: {
  custom: {
    50: '#de9bf2',
    500: '#cc6eeb',
    950: '#000000',
  },
}
SCSS
$custom: #cc6eeb;
$custom-light: #de9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6eeb",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 285.12,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69302,
    "c": 0.19678,
    "h": 317.1
  },
  "luminance": 0.29987
}

Semantic roles & 50–950 ramp

primary
#CC6EEB
secondary
#D1EEC7
accent
#D80E40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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