#CC37C9#CC37C9

#CC37C9 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.240 H 328.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC37C9
RGBrgb(204, 55, 201)
HSLhsl(301, 59%, 51%)
HSVhsv(301, 73%, 80%)
CMYKcmyk(0%, 73%, 1.5%, 20%)
CIE-LABlab(51.60, 73.08, -44.76)
CIE-LCHlch(51.60, 85.70, 328.51°)
OKLaboklab(61.44% 0.2053 -0.1238)
OKLCHoklch(61.44% 0.24 328.9)
XYZxyz(36.8103, 19.7896, 57.1280)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37C9 #37CC3A
analogous
#8437CC #CC37C9 #CC377E
triadic
#CC37C9 #C9CC37 #37C9CC
tetradic
#CC37C9 #CC8437 #37CC3A #377ECC
square
#CC37C9 #CC8437 #37CC3A #377ECC
split-complementary
#CC37C9 #7ECC37 #37CC84
monochromatic
#6D1C6B #9E289B #CC37C9 #D868D6 #E599E3

Accessibility & contrast

On white

4.24
#CC37C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CC37C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37C9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37C9#FFFFFF#000000##000000
##CC37C91.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECD
Deuteranopia (green-blind)
#6282C5
Tritanopia (blue-blind)
#D34D7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc37c9;
/* rgb */ color: rgb(204, 55, 201);
/* oklch */ color: oklch(61.4% 0.240 328.9);
Tailwind
colors: {
  custom: {
    50: '#e07dda',
    500: '#cc37c9',
    950: '#000000',
  },
}
SCSS
$custom: #cc37c9;
$custom-light: #e07dda;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37c9",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 301.208,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.23974,
    "h": 328.9
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#CC37C9
secondary
#8ED090
accent
#E34845
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC37C9

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

Preview Lab → · Contrast checker → · Palette generator →

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