#CC3EC6#CC3EC6

#CC3EC6 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.230 H 329.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC3EC6
RGBrgb(204, 62, 198)
HSLhsl(303, 58%, 52%)
HSVhsv(303, 70%, 80%)
CMYKcmyk(0%, 69.6%, 2.9%, 20%)
CIE-LABlab(52.24, 70.32, -42.01)
CIE-LCHlch(52.24, 81.91, 329.15°)
OKLaboklab(61.85% 0.1987 -0.1159)
OKLCHoklch(61.85% 0.23 329.7)
XYZxyz(36.8173, 20.3626, 55.4064)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EC6 #3ECC44
analogous
#8B3ECC #CC3EC6 #CC3E7F
triadic
#CC3EC6 #C6CC3E #3EC6CC
tetradic
#CC3EC6 #CC8B3E #3ECC44 #3E7FCC
square
#CC3EC6 #CC8B3E #3ECC44 #3E7FCC
split-complementary
#CC3EC6 #7FCC3E #3ECC8B
monochromatic
#721E6E #A22B9D #CC3EC6 #D96ED4 #E69FE3

Accessibility & contrast

On white

4.14
#CC3EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CC3EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EC6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EC6#FFFFFF#000000##000000
##CC3EC61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E70CA
Deuteranopia (green-blind)
#6783C2
Tritanopia (blue-blind)
#D3507E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc3ec6;
/* rgb */ color: rgb(204, 62, 198);
/* oklch */ color: oklch(61.9% 0.230 329.7);
Tailwind
colors: {
  custom: {
    50: '#df80d8',
    500: '#cc3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ec6;
$custom-light: #df80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ec6",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 302.535,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61852,
    "c": 0.23002,
    "h": 329.7
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#CC3EC6
secondary
#94D297
accent
#E14D46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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