#CC3EC7#CC3EC7

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

Color values

HEX#CC3EC7
RGBrgb(204, 62, 199)
HSLhsl(302, 58%, 52%)
HSVhsv(302, 70%, 80%)
CMYKcmyk(0%, 69.6%, 2.5%, 20%)
CIE-LABlab(52.30, 70.48, -42.50)
CIE-LCHlch(52.30, 82.30, 328.91°)
OKLaboklab(61.91% 0.1987 -0.1173)
OKLCHoklch(61.91% 0.231 329.4)
XYZxyz(36.9330, 20.4089, 56.0158)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EC7 #3ECC43
analogous
#8A3ECC #CC3EC7 #CC3E80
triadic
#CC3EC7 #C7CC3E #3EC7CC
tetradic
#CC3EC7 #CC8A3E #3ECC43 #3E80CC
square
#CC3EC7 #CC8A3E #3ECC43 #3E80CC
split-complementary
#CC3EC7 #80CC3E #3ECC8A
monochromatic
#721E6F #A22B9E #CC3EC7 #D96ED5 #E69FE3

Accessibility & contrast

On white

4.13
#CC3EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CC3EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EC7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EC7#FFFFFF#000000##000000
##CC3EC71.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C71CB
Deuteranopia (green-blind)
#6683C3
Tritanopia (blue-blind)
#D3517E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc3ec7;
/* rgb */ color: rgb(204, 62, 199);
/* oklch */ color: oklch(61.9% 0.231 329.4);
Tailwind
colors: {
  custom: {
    50: '#df80d8',
    500: '#cc3ec7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ec7;
$custom-light: #df80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ec7",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 302.113,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61906,
    "c": 0.23077,
    "h": 329.4
  },
  "luminance": 0.20406
}

Semantic roles & 50–950 ramp

primary
#CC3EC7
secondary
#94D296
accent
#E14C46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC3EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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