#CC37B7#CC37B7

#CC37B7 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.227 H 334.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC37B7
RGBrgb(204, 55, 183)
HSLhsl(308, 59%, 51%)
HSVhsv(308, 73%, 80%)
CMYKcmyk(0%, 73%, 10.3%, 20%)
CIE-LABlab(50.68, 70.35, -35.78)
CIE-LCHlch(50.68, 78.93, 333.04°)
OKLaboklab(60.48% 0.2046 -0.0979)
OKLCHoklch(60.48% 0.227 334.4)
XYZxyz(34.8156, 18.9917, 46.6227)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37B7 #37CC4C
analogous
#9637CC #CC37B7 #CC376C
triadic
#CC37B7 #B7CC37 #37B7CC
tetradic
#CC37B7 #CC9637 #37CC4C #376CCC
square
#CC37B7 #CC9637 #37CC4C #376CCC
split-complementary
#CC37B7 #6CCC37 #37CC96
monochromatic
#6D1C61 #9E288D #CC37B7 #D868C9 #E599DA

Accessibility & contrast

On white

4.38
#CC37B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CC37B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37B7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37B7#FFFFFF#000000##000000
##CC37B71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#356BBB
Deuteranopia (green-blind)
#6B80B3
Tritanopia (blue-blind)
#D64474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc37b7;
/* rgb */ color: rgb(204, 55, 183);
/* oklch */ color: oklch(60.5% 0.227 334.4);
Tailwind
colors: {
  custom: {
    50: '#e07ccd',
    500: '#cc37b7',
    950: '#000000',
  },
}
SCSS
$custom: #cc37b7;
$custom-light: #e07ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37b7",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 308.456,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6048,
    "c": 0.22682,
    "h": 334.4
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#CC37B7
secondary
#8ED098
accent
#E35B45
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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