#CC3EC1#CC3EC1

#CC3EC1 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.226 H 331.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC3EC1
RGBrgb(204, 62, 193)
HSLhsl(305, 58%, 52%)
HSVhsv(305, 70%, 80%)
CMYKcmyk(0%, 69.6%, 5.4%, 20%)
CIE-LABlab(51.99, 69.54, -39.52)
CIE-LCHlch(51.99, 79.99, 330.39°)
OKLaboklab(61.59% 0.1984 -0.1087)
OKLCHoklch(61.59% 0.226 331.3)
XYZxyz(36.2501, 20.1357, 52.4191)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EC1 #3ECC49
analogous
#903ECC #CC3EC1 #CC3E7A
triadic
#CC3EC1 #C1CC3E #3EC1CC
tetradic
#CC3EC1 #CC903E #3ECC49 #3E7ACC
square
#CC3EC1 #CC903E #3ECC49 #3E7ACC
split-complementary
#CC3EC1 #7ACC3E #3ECC90
monochromatic
#721E6B #A22B99 #CC3EC1 #D96ED1 #E69FE0

Accessibility & contrast

On white

4.18
#CC3EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CC3EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EC1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EC1#FFFFFF#000000##000000
##CC3EC11.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#336FC5
Deuteranopia (green-blind)
#6983BD
Tritanopia (blue-blind)
#D44E7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc3ec1;
/* rgb */ color: rgb(204, 62, 193);
/* oklch */ color: oklch(61.6% 0.226 331.3);
Tailwind
colors: {
  custom: {
    50: '#df80d4',
    500: '#cc3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ec1;
$custom-light: #df80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ec1",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 304.648,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61587,
    "c": 0.22629,
    "h": 331.3
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#CC3EC1
secondary
#94D299
accent
#E15246
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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