#CC36C1#CC36C1

#CC36C1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.9% C 0.235 H 331.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC36C1
RGBrgb(204, 54, 193)
HSLhsl(304, 60%, 51%)
HSVhsv(304, 74%, 80%)
CMYKcmyk(0%, 73.5%, 5.4%, 20%)
CIE-LABlab(51.07, 72.15, -40.98)
CIE-LCHlch(51.07, 82.98, 330.41°)
OKLaboklab(60.93% 0.206 -0.1129)
OKLCHoklch(60.93% 0.235 331.3)
XYZxyz(35.8466, 19.3289, 52.2846)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC36C1 #36CC41
analogous
#8C36CC #CC36C1 #CC3676
triadic
#CC36C1 #C1CC36 #36C1CC
tetradic
#CC36C1 #CC8C36 #36CC41 #3676CC
square
#CC36C1 #CC8C36 #36CC41 #3676CC
split-complementary
#CC36C1 #76CC36 #36CC8C
monochromatic
#6C1B66 #9D2894 #CC36C1 #D867D0 #E598DF

Accessibility & contrast

On white

4.32
#CC36C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CC36C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC36C1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC36C1#FFFFFF#000000##000000
##CC36C11.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#286CC5
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#D44879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc36c1;
/* rgb */ color: rgb(204, 54, 193);
/* oklch */ color: oklch(60.9% 0.235 331.3);
Tailwind
colors: {
  custom: {
    50: '#e07cd4',
    500: '#cc36c1',
    950: '#000000',
  },
}
SCSS
$custom: #cc36c1;
$custom-light: #e07cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc36c1",
  "rgb": {
    "r": 204,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 304.4,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60925,
    "c": 0.23492,
    "h": 331.3
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

primary
#CC36C1
secondary
#8ED092
accent
#E35145
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC36C1

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

Preview Lab → · Contrast checker → · Palette generator →

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