#CC37C3#CC37C3

#CC37C3 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.1% C 0.235 H 330.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CC37C3
RGBrgb(204, 55, 195)
HSLhsl(304, 59%, 51%)
HSVhsv(304, 73%, 80%)
CMYKcmyk(0%, 73%, 4.4%, 20%)
CIE-LABlab(51.28, 72.15, -41.80)
CIE-LCHlch(51.28, 83.39, 329.91°)
OKLaboklab(61.11% 0.2052 -0.1153)
OKLCHoklch(61.11% 0.235 330.7)
XYZxyz(36.1183, 19.5127, 53.4832)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37C3 #37CC40
analogous
#8A37CC #CC37C3 #CC3778
triadic
#CC37C3 #C3CC37 #37C3CC
tetradic
#CC37C3 #CC8A37 #37CC40 #3778CC
square
#CC37C3 #CC8A37 #37CC40 #3778CC
split-complementary
#CC37C3 #78CC37 #37CC8A
monochromatic
#6D1C68 #9E2897 #CC37C3 #D868D2 #E599E0

Accessibility & contrast

On white

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

On black

4.90
#CC37C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37C3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37C3#FFFFFF#000000##000000
##CC37C31.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#276DC7
Deuteranopia (green-blind)
#6581BF
Tritanopia (blue-blind)
#D44A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc37c3;
/* rgb */ color: rgb(204, 55, 195);
/* oklch */ color: oklch(61.1% 0.235 330.7);
Tailwind
colors: {
  custom: {
    50: '#e07dd5',
    500: '#cc37c3',
    950: '#000000',
  },
}
SCSS
$custom: #cc37c3;
$custom-light: #e07dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37c3",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 303.624,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.23534,
    "h": 330.7
  },
  "luminance": 0.1951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC37C3

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

Preview Lab → · Contrast checker → · Palette generator →

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