#CC6ECA#CC6ECA

#CC6ECA is a light, vivid purple. Relative luminance 0.283; OKLCH L 67.7% C 0.165 H 328.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#CC6ECA
RGBrgb(204, 110, 202)
HSLhsl(301, 48%, 62%)
HSVhsv(301, 46%, 80%)
CMYKcmyk(0%, 46.1%, 1%, 20%)
CIE-LABlab(60.12, 50.11, -31.95)
CIE-LCHlch(60.12, 59.43, 327.48°)
OKLaboklab(67.68% 0.1398 -0.0874)
OKLCHoklch(67.68% 0.165 328)
XYZxyz(41.1378, 28.2557, 59.1527)
Luminance0.2825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6ECA #6ECC70
analogous
#9F6ECC #CC6ECA #CC6E9B
triadic
#CC6ECA #CACC6E #6ECACC
tetradic
#CC6ECA #CC9F6E #6ECC70 #6E9BCC
square
#CC6ECA #CC9F6E #6ECC70 #6E9BCC
split-complementary
#CC6ECA #9BCC6E #6ECC9F
monochromatic
#8E328C #BB42B8 #CC6ECA #DC9BDB #ECC9EB

Accessibility & contrast

On white

3.16
#CC6ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#CC6ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6ECA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6ECA#FFFFFF#000000##000000
##CC6ECA1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CD
Deuteranopia (green-blind)
#8195C7
Tritanopia (blue-blind)
#D17793
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc6eca;
/* rgb */ color: rgb(204, 110, 202);
/* oklch */ color: oklch(67.7% 0.165 328.0);
Tailwind
colors: {
  custom: {
    50: '#dd9bda',
    500: '#cc6eca',
    950: '#000000',
  },
}
SCSS
$custom: #cc6eca;
$custom-light: #dd9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6eca",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 301.277,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67676,
    "c": 0.16486,
    "h": 328
  },
  "luminance": 0.28253
}

Semantic roles & 50–950 ramp

primary
#CC6ECA
secondary
#B9DCBA
accent
#BB2D2A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC6ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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