#CC6EC2#CC6EC2

#CC6EC2 is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.3% C 0.158 H 331.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#CC6EC2
RGBrgb(204, 110, 194)
HSLhsl(306, 48%, 62%)
HSVhsv(306, 46%, 80%)
CMYKcmyk(0%, 46.1%, 4.9%, 20%)
CIE-LABlab(59.79, 48.70, -27.93)
CIE-LCHlch(59.79, 56.14, 330.17°)
OKLaboklab(67.32% 0.1382 -0.076)
OKLCHoklch(67.32% 0.158 331.2)
XYZxyz(40.2150, 27.8866, 54.2929)
Luminance0.2788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EC2 #6ECC78
analogous
#A76ECC #CC6EC2 #CC6E93
triadic
#CC6EC2 #C2CC6E #6EC2CC
tetradic
#CC6EC2 #CCA76E #6ECC78 #6E93CC
square
#CC6EC2 #CCA76E #6ECC78 #6E93CC
split-complementary
#CC6EC2 #93CC6E #6ECCA7
monochromatic
#8E3284 #BB42AE #CC6EC2 #DC9BD5 #ECC9E8

Accessibility & contrast

On white

3.19
#CC6EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#CC6EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6EC2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EC2#FFFFFF#000000##000000
##CC6EC21.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A88C5
Deuteranopia (green-blind)
#8595BF
Tritanopia (blue-blind)
#D3758F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc6ec2;
/* rgb */ color: rgb(204, 110, 194);
/* oklch */ color: oklch(67.3% 0.158 331.2);
Tailwind
colors: {
  custom: {
    50: '#dd9ad4',
    500: '#cc6ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ec2;
$custom-light: #dd9ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ec2",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 306.383,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67319,
    "c": 0.1577,
    "h": 331.2
  },
  "luminance": 0.27884
}

Semantic roles & 50–950 ramp

primary
#CC6EC2
secondary
#B9DCBD
accent
#BB3A2A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CC6EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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