#CC3EC5#CC3EC5

#CC3EC5 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.8% C 0.229 H 330.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC3EC5
RGBrgb(204, 62, 197)
HSLhsl(303, 58%, 52%)
HSVhsv(303, 70%, 80%)
CMYKcmyk(0%, 69.6%, 3.4%, 20%)
CIE-LABlab(52.19, 70.16, -41.51)
CIE-LCHlch(52.19, 81.53, 329.39°)
OKLaboklab(61.8% 0.1986 -0.1145)
OKLCHoklch(61.8% 0.229 330)
XYZxyz(36.7023, 20.3166, 54.8009)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EC5 #3ECC45
analogous
#8C3ECC #CC3EC5 #CC3E7E
triadic
#CC3EC5 #C5CC3E #3EC5CC
tetradic
#CC3EC5 #CC8C3E #3ECC45 #3E7ECC
square
#CC3EC5 #CC8C3E #3ECC45 #3E7ECC
split-complementary
#CC3EC5 #7ECC3E #3ECC8C
monochromatic
#721E6D #A22B9C #CC3EC5 #D96ED4 #E69FE2

Accessibility & contrast

On white

4.15
#CC3EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CC3EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EC5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EC5#FFFFFF#000000##000000
##CC3EC51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C9
Deuteranopia (green-blind)
#6783C1
Tritanopia (blue-blind)
#D3507D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc3ec5;
/* rgb */ color: rgb(204, 62, 197);
/* oklch */ color: oklch(61.8% 0.229 330.0);
Tailwind
colors: {
  custom: {
    50: '#df80d7',
    500: '#cc3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ec5;
$custom-light: #df80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ec5",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 302.958,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61799,
    "c": 0.22927,
    "h": 330
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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