#CC37B5#CC37B5

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

Color values

HEX#CC37B5
RGBrgb(204, 55, 181)
HSLhsl(309, 59%, 51%)
HSVhsv(309, 73%, 80%)
CMYKcmyk(0%, 73%, 11.3%, 20%)
CIE-LABlab(50.58, 70.06, -34.77)
CIE-LCHlch(50.58, 78.21, 333.61°)
OKLaboklab(60.38% 0.2044 -0.095)
OKLCHoklch(60.38% 0.225 335.1)
XYZxyz(34.6089, 18.9090, 45.5342)
Luminance0.1891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37B5 #37CC4E
analogous
#9937CC #CC37B5 #CC376A
triadic
#CC37B5 #B5CC37 #37B5CC
tetradic
#CC37B5 #CC9937 #37CC4E #376ACC
square
#CC37B5 #CC9937 #37CC4E #376ACC
split-complementary
#CC37B5 #6ACC37 #37CC99
monochromatic
#6D1C60 #9E288B #CC37B5 #D868C7 #E599D9

Accessibility & contrast

On white

4.39
#CC37B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CC37B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37B5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37B5#FFFFFF#000000##000000
##CC37B51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#366AB8
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#D64372
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc37b5;
/* rgb */ color: rgb(204, 55, 181);
/* oklch */ color: oklch(60.4% 0.225 335.1);
Tailwind
colors: {
  custom: {
    50: '#e07ccb',
    500: '#cc37b5',
    950: '#000000',
  },
}
SCSS
$custom: #cc37b5;
$custom-light: #e07ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37b5",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 309.262,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60379,
    "c": 0.22543,
    "h": 335.1
  },
  "luminance": 0.18906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC37B5

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

Preview Lab → · Contrast checker → · Palette generator →

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