#CC3EC8#CC3EC8

#CC3EC8 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 62.0% C 0.232 H 329.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC3EC8
RGBrgb(204, 62, 200)
HSLhsl(302, 58%, 52%)
HSVhsv(302, 70%, 80%)
CMYKcmyk(0%, 69.6%, 2%, 20%)
CIE-LABlab(52.35, 70.64, -43.00)
CIE-LCHlch(52.35, 82.70, 328.67°)
OKLaboklab(61.96% 0.1987 -0.1188)
OKLCHoklch(61.96% 0.232 329.1)
XYZxyz(37.0495, 20.4555, 56.6293)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EC8 #3ECC42
analogous
#893ECC #CC3EC8 #CC3E81
triadic
#CC3EC8 #C8CC3E #3EC8CC
tetradic
#CC3EC8 #CC893E #3ECC42 #3E81CC
square
#CC3EC8 #CC893E #3ECC42 #3E81CC
split-complementary
#CC3EC8 #81CC3E #3ECC89
monochromatic
#721E6F #A22B9F #CC3EC8 #D96ED6 #E69FE4

Accessibility & contrast

On white

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

On black

5.09
#CC3EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EC8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EC8#FFFFFF#000000##000000
##CC3EC81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B71CC
Deuteranopia (green-blind)
#6684C4
Tritanopia (blue-blind)
#D3517F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc3ec8;
/* rgb */ color: rgb(204, 62, 200);
/* oklch */ color: oklch(62.0% 0.232 329.1);
Tailwind
colors: {
  custom: {
    50: '#df80d9',
    500: '#cc3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ec8;
$custom-light: #df80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ec8",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 301.69,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.23153,
    "h": 329.1
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#CC3EC8
secondary
#94D296
accent
#E14B46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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