#CC37C8#CC37C8

#CC37C8 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.4% C 0.239 H 329.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CC37C8
RGBrgb(204, 55, 200)
HSLhsl(302, 59%, 51%)
HSVhsv(302, 73%, 80%)
CMYKcmyk(0%, 73%, 2%, 20%)
CIE-LABlab(51.55, 72.93, -44.27)
CIE-LCHlch(51.55, 85.31, 328.74°)
OKLaboklab(61.38% 0.2053 -0.1224)
OKLCHoklch(61.38% 0.239 329.2)
XYZxyz(36.6931, 19.7427, 56.5105)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37C8 #37CC3B
analogous
#8537CC #CC37C8 #CC377D
triadic
#CC37C8 #C8CC37 #37C8CC
tetradic
#CC37C8 #CC8537 #37CC3B #377DCC
square
#CC37C8 #CC8537 #37CC3B #377DCC
split-complementary
#CC37C8 #7DCC37 #37CC85
monochromatic
#6D1C6B #9E289A #CC37C8 #D868D5 #E599E3

Accessibility & contrast

On white

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

On black

4.95
#CC37C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37C8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37C8#FFFFFF#000000##000000
##CC37C81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc37c8;
/* rgb */ color: rgb(204, 55, 200);
/* oklch */ color: oklch(61.4% 0.239 329.2);
Tailwind
colors: {
  custom: {
    50: '#e07dd9',
    500: '#cc37c8',
    950: '#000000',
  },
}
SCSS
$custom: #cc37c8;
$custom-light: #e07dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37c8",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 301.611,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.23899,
    "h": 329.2
  },
  "luminance": 0.1974
}

Semantic roles & 50–950 ramp

primary
#CC37C8
secondary
#8ED090
accent
#E34945
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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