#CC3EC2#CC3EC2

#CC3EC2 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.6% C 0.227 H 331.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CC3EC2
RGBrgb(204, 62, 194)
HSLhsl(304, 58%, 52%)
HSVhsv(304, 70%, 80%)
CMYKcmyk(0%, 69.6%, 4.9%, 20%)
CIE-LABlab(52.04, 69.69, -40.02)
CIE-LCHlch(52.04, 80.37, 330.13°)
OKLaboklab(61.64% 0.1985 -0.1102)
OKLCHoklch(61.64% 0.227 331)
XYZxyz(36.3620, 20.1805, 53.0086)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EC2 #3ECC48
analogous
#8F3ECC #CC3EC2 #CC3E7B
triadic
#CC3EC2 #C2CC3E #3EC2CC
tetradic
#CC3EC2 #CC8F3E #3ECC48 #3E7BCC
square
#CC3EC2 #CC8F3E #3ECC48 #3E7BCC
split-complementary
#CC3EC2 #7BCC3E #3ECC8F
monochromatic
#721E6C #A22B9A #CC3EC2 #D96ED1 #E69FE1

Accessibility & contrast

On white

4.17
#CC3EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CC3EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EC2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EC2#FFFFFF#000000##000000
##CC3EC21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3270C6
Deuteranopia (green-blind)
#6983BE
Tritanopia (blue-blind)
#D44E7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc3ec2;
/* rgb */ color: rgb(204, 62, 194);
/* oklch */ color: oklch(61.6% 0.227 331.0);
Tailwind
colors: {
  custom: {
    50: '#df80d5',
    500: '#cc3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ec2;
$custom-light: #df80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ec2",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 304.225,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61639,
    "c": 0.22703,
    "h": 331
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#CC3EC2
secondary
#94D298
accent
#E15146
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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