#CC37C1#CC37C1

#CC37C1 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.234 H 331.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC37C1
RGBrgb(204, 55, 193)
HSLhsl(304, 59%, 51%)
HSVhsv(304, 73%, 80%)
CMYKcmyk(0%, 73%, 5.4%, 20%)
CIE-LABlab(51.18, 71.84, -40.81)
CIE-LCHlch(51.18, 82.62, 330.40°)
OKLaboklab(61% 0.2051 -0.1124)
OKLCHoklch(61% 0.234 331.3)
XYZxyz(35.8936, 19.4229, 52.3003)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37C1 #37CC42
analogous
#8D37CC #CC37C1 #CC3776
triadic
#CC37C1 #C1CC37 #37C1CC
tetradic
#CC37C1 #CC8D37 #37CC42 #3776CC
square
#CC37C1 #CC8D37 #37CC42 #3776CC
split-complementary
#CC37C1 #76CC37 #37CC8D
monochromatic
#6D1C67 #9E2895 #CC37C1 #D868D0 #E599DF

Accessibility & contrast

On white

4.30
#CC37C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC37C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37C1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37C1#FFFFFF#000000##000000
##CC37C11.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC5
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#D44979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc37c1;
/* rgb */ color: rgb(204, 55, 193);
/* oklch */ color: oklch(61.0% 0.234 331.3);
Tailwind
colors: {
  custom: {
    50: '#e07dd4',
    500: '#cc37c1',
    950: '#000000',
  },
}
SCSS
$custom: #cc37c1;
$custom-light: #e07dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37c1",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 304.43,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61003,
    "c": 0.23389,
    "h": 331.3
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#CC37C1
secondary
#8ED093
accent
#E35145
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CC37C1

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

Preview Lab → · Contrast checker → · Palette generator →

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