#CC37C6#CC37C6

#CC37C6 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.3% C 0.238 H 329.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CC37C6
RGBrgb(204, 55, 198)
HSLhsl(302, 59%, 51%)
HSVhsv(302, 73%, 80%)
CMYKcmyk(0%, 73%, 2.9%, 20%)
CIE-LABlab(51.44, 72.62, -43.28)
CIE-LCHlch(51.44, 84.54, 329.20°)
OKLaboklab(61.27% 0.2052 -0.1196)
OKLCHoklch(61.27% 0.238 329.8)
XYZxyz(36.4609, 19.6498, 55.2876)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37C6 #37CC3D
analogous
#8737CC #CC37C6 #CC377B
triadic
#CC37C6 #C6CC37 #37C6CC
tetradic
#CC37C6 #CC8737 #37CC3D #377BCC
square
#CC37C6 #CC8737 #37CC3D #377BCC
split-complementary
#CC37C6 #7BCC37 #37CC87
monochromatic
#6D1C6A #9E2899 #CC37C6 #D868D4 #E599E2

Accessibility & contrast

On white

4.26
#CC37C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CC37C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37C6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37C6#FFFFFF#000000##000000
##CC37C61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#236ECA
Deuteranopia (green-blind)
#6382C2
Tritanopia (blue-blind)
#D34C7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc37c6;
/* rgb */ color: rgb(204, 55, 198);
/* oklch */ color: oklch(61.3% 0.238 329.8);
Tailwind
colors: {
  custom: {
    50: '#e07dd8',
    500: '#cc37c6',
    950: '#000000',
  },
}
SCSS
$custom: #cc37c6;
$custom-light: #e07dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37c6",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 302.416,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61274,
    "c": 0.23753,
    "h": 329.8
  },
  "luminance": 0.19647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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