#CC36B5#CC36B5

#CC36B5 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.226 H 335.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC36B5
RGBrgb(204, 54, 181)
HSLhsl(309, 60%, 51%)
HSVhsv(309, 74%, 80%)
CMYKcmyk(0%, 73.5%, 11.3%, 20%)
CIE-LABlab(50.47, 70.37, -34.94)
CIE-LCHlch(50.47, 78.57, 333.59°)
OKLaboklab(60.3% 0.2054 -0.0955)
OKLCHoklch(60.3% 0.226 335.1)
XYZxyz(34.5619, 18.8150, 45.5185)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC36B5 #36CC4D
analogous
#9836CC #CC36B5 #CC366A
triadic
#CC36B5 #B5CC36 #36B5CC
tetradic
#CC36B5 #CC9836 #36CC4D #366ACC
square
#CC36B5 #CC9836 #36CC4D #366ACC
split-complementary
#CC36B5 #6ACC36 #36CC98
monochromatic
#6C1B60 #9D288B #CC36B5 #D867C7 #E598D9

Accessibility & contrast

On white

4.41
#CC36B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CC36B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC36B5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC36B5#FFFFFF#000000##000000
##CC36B51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#6B80B1
Tritanopia (blue-blind)
#D64272
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc36b5;
/* rgb */ color: rgb(204, 54, 181);
/* oklch */ color: oklch(60.3% 0.226 335.1);
Tailwind
colors: {
  custom: {
    50: '#e07ccb',
    500: '#cc36b5',
    950: '#000000',
  },
}
SCSS
$custom: #cc36b5;
$custom-light: #e07ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc36b5",
  "rgb": {
    "r": 204,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 309.2,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.22648,
    "h": 335.1
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#CC36B5
secondary
#8ED098
accent
#E35D45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC36B5

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

Preview Lab → · Contrast checker → · Palette generator →

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