#CC37B4#CC37B4

#CC37B4 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.3% C 0.225 H 335.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CC37B4
RGBrgb(204, 55, 180)
HSLhsl(310, 59%, 51%)
HSVhsv(310, 73%, 80%)
CMYKcmyk(0%, 73%, 11.8%, 20%)
CIE-LABlab(50.53, 69.91, -34.26)
CIE-LCHlch(50.53, 77.86, 333.89°)
OKLaboklab(60.33% 0.2044 -0.0935)
OKLCHoklch(60.33% 0.225 335.4)
XYZxyz(34.5067, 18.8681, 44.9957)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37B4 #37CC4F
analogous
#9937CC #CC37B4 #CC3769
triadic
#CC37B4 #B4CC37 #37B4CC
tetradic
#CC37B4 #CC9937 #37CC4F #3769CC
square
#CC37B4 #CC9937 #37CC4F #3769CC
split-complementary
#CC37B4 #69CC37 #37CC99
monochromatic
#6D1C60 #9E288B #CC37B4 #D868C6 #E599D9

Accessibility & contrast

On white

4.40
#CC37B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CC37B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37B4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37B4#FFFFFF#000000##000000
##CC37B41.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#376AB7
Deuteranopia (green-blind)
#6C80B0
Tritanopia (blue-blind)
#D64372
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc37b4;
/* rgb */ color: rgb(204, 55, 180);
/* oklch */ color: oklch(60.3% 0.225 335.4);
Tailwind
colors: {
  custom: {
    50: '#e07ccb',
    500: '#cc37b4',
    950: '#000000',
  },
}
SCSS
$custom: #cc37b4;
$custom-light: #e07ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37b4",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 309.664,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.22474,
    "h": 335.4
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#CC37B4
secondary
#8ED099
accent
#E35F45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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