#CC37C4#CC37C4

#CC37C4 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.2% C 0.236 H 330.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC37C4
RGBrgb(204, 55, 196)
HSLhsl(303, 59%, 51%)
HSVhsv(303, 73%, 80%)
CMYKcmyk(0%, 73%, 3.9%, 20%)
CIE-LABlab(51.33, 72.31, -42.30)
CIE-LCHlch(51.33, 83.77, 329.67°)
OKLaboklab(61.17% 0.2052 -0.1167)
OKLCHoklch(61.17% 0.236 330.4)
XYZxyz(36.2317, 19.5581, 54.0807)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37C4 #37CC3F
analogous
#8937CC #CC37C4 #CC377A
triadic
#CC37C4 #C4CC37 #37C4CC
tetradic
#CC37C4 #CC8937 #37CC3F #377ACC
square
#CC37C4 #CC8937 #37CC3F #377ACC
split-complementary
#CC37C4 #7ACC37 #37CC89
monochromatic
#6D1C68 #9E2897 #CC37C4 #D868D2 #E599E1

Accessibility & contrast

On white

4.28
#CC37C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC37C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37C4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37C4#FFFFFF#000000##000000
##CC37C41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#266DC8
Deuteranopia (green-blind)
#6581C0
Tritanopia (blue-blind)
#D44B7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc37c4;
/* rgb */ color: rgb(204, 55, 196);
/* oklch */ color: oklch(61.2% 0.236 330.4);
Tailwind
colors: {
  custom: {
    50: '#e07dd6',
    500: '#cc37c4',
    950: '#000000',
  },
}
SCSS
$custom: #cc37c4;
$custom-light: #e07dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37c4",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 303.221,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61165,
    "c": 0.23607,
    "h": 330.4
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#CC37C4
secondary
#8ED092
accent
#E34E45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC37C4

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

Preview Lab → · Contrast checker → · Palette generator →

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