#CC36C2#CC36C2

#CC36C2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.236 H 331.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC36C2
RGBrgb(204, 54, 194)
HSLhsl(304, 60%, 51%)
HSVhsv(304, 74%, 80%)
CMYKcmyk(0%, 73.5%, 4.9%, 20%)
CIE-LABlab(51.12, 72.31, -41.48)
CIE-LCHlch(51.12, 83.36, 330.16°)
OKLaboklab(60.98% 0.2061 -0.1143)
OKLCHoklch(60.98% 0.236 331)
XYZxyz(35.9586, 19.3736, 52.8741)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC36C2 #36CC40
analogous
#8B36CC #CC36C2 #CC3677
triadic
#CC36C2 #C2CC36 #36C2CC
tetradic
#CC36C2 #CC8B36 #36CC40 #3677CC
square
#CC36C2 #CC8B36 #36CC40 #3677CC
split-complementary
#CC36C2 #77CC36 #36CC8B
monochromatic
#6C1B67 #9D2895 #CC36C2 #D867D1 #E598E0

Accessibility & contrast

On white

4.31
#CC36C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC36C2#FFFFFF#000000##000000
##CC36C21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#276DC6
Deuteranopia (green-blind)
#6581BE
Tritanopia (blue-blind)
#D44979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc36c2;
/* rgb */ color: rgb(204, 54, 194);
/* oklch */ color: oklch(61.0% 0.236 331.0);
Tailwind
colors: {
  custom: {
    50: '#e07cd5',
    500: '#cc36c2',
    950: '#000000',
  },
}
SCSS
$custom: #cc36c2;
$custom-light: #e07cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc36c2",
  "rgb": {
    "r": 204,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 304,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.23564,
    "h": 331
  },
  "luminance": 0.19371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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