#CC36C6#CC36C6

#CC36C6 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.2% C 0.239 H 329.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC36C6
RGBrgb(204, 54, 198)
HSLhsl(302, 60%, 51%)
HSVhsv(302, 74%, 80%)
CMYKcmyk(0%, 73.5%, 2.9%, 20%)
CIE-LABlab(51.33, 72.92, -43.45)
CIE-LCHlch(51.33, 84.89, 329.21°)
OKLaboklab(61.2% 0.2061 -0.12)
OKLCHoklch(61.2% 0.239 329.8)
XYZxyz(36.4138, 19.5557, 55.2719)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC36C6 #36CC3C
analogous
#8736CC #CC36C6 #CC367B
triadic
#CC36C6 #C6CC36 #36C6CC
tetradic
#CC36C6 #CC8736 #36CC3C #367BCC
square
#CC36C6 #CC8736 #36CC3C #367BCC
split-complementary
#CC36C6 #7BCC36 #36CC87
monochromatic
#6C1B69 #9D2898 #CC36C6 #D867D4 #E598E2

Accessibility & contrast

On white

4.28
#CC36C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC36C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC36C6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC36C6#FFFFFF#000000##000000
##CC36C61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#216DCA
Deuteranopia (green-blind)
#6381C2
Tritanopia (blue-blind)
#D34B7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc36c6;
/* rgb */ color: rgb(204, 54, 198);
/* oklch */ color: oklch(61.2% 0.239 329.8);
Tailwind
colors: {
  custom: {
    50: '#e07cd8',
    500: '#cc36c6',
    950: '#000000',
  },
}
SCSS
$custom: #cc36c6;
$custom-light: #e07cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc36c6",
  "rgb": {
    "r": 204,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 302.4,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.61197,
    "c": 0.23853,
    "h": 329.8
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#CC36C6
secondary
#8ED090
accent
#E34B45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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