#CC37C5#CC37C5

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

Color values

HEX#CC37C5
RGBrgb(204, 55, 197)
HSLhsl(303, 59%, 51%)
HSVhsv(303, 73%, 80%)
CMYKcmyk(0%, 73%, 3.4%, 20%)
CIE-LABlab(51.39, 72.46, -42.79)
CIE-LCHlch(51.39, 84.15, 329.44°)
OKLaboklab(61.22% 0.2052 -0.1181)
OKLCHoklch(61.22% 0.237 330.1)
XYZxyz(36.3459, 19.6038, 54.6821)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37C5 #37CC3E
analogous
#8837CC #CC37C5 #CC377A
triadic
#CC37C5 #C5CC37 #37C5CC
tetradic
#CC37C5 #CC8837 #37CC3E #377ACC
square
#CC37C5 #CC8837 #37CC3E #377ACC
split-complementary
#CC37C5 #7ACC37 #37CC88
monochromatic
#6D1C69 #9E2898 #CC37C5 #D868D3 #E599E1

Accessibility & contrast

On white

4.27
#CC37C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CC37C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37C5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37C5#FFFFFF#000000##000000
##CC37C51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#246EC9
Deuteranopia (green-blind)
#6481C1
Tritanopia (blue-blind)
#D44B7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc37c5;
/* rgb */ color: rgb(204, 55, 197);
/* oklch */ color: oklch(61.2% 0.237 330.1);
Tailwind
colors: {
  custom: {
    50: '#e07dd7',
    500: '#cc37c5',
    950: '#000000',
  },
}
SCSS
$custom: #cc37c5;
$custom-light: #e07dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37c5",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 302.819,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.2368,
    "h": 330.1
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#CC37C5
secondary
#8ED091
accent
#E34D45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC37C5

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

Preview Lab → · Contrast checker → · Palette generator →

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