#CC37C2#CC37C2

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

Color values

HEX#CC37C2
RGBrgb(204, 55, 194)
HSLhsl(304, 59%, 51%)
HSVhsv(304, 73%, 80%)
CMYKcmyk(0%, 73%, 4.9%, 20%)
CIE-LABlab(51.23, 72.00, -41.30)
CIE-LCHlch(51.23, 83.00, 330.16°)
OKLaboklab(61.06% 0.2052 -0.1138)
OKLCHoklch(61.06% 0.235 331)
XYZxyz(36.0056, 19.4677, 52.8898)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37C2 #37CC41
analogous
#8B37CC #CC37C2 #CC3777
triadic
#CC37C2 #C2CC37 #37C2CC
tetradic
#CC37C2 #CC8B37 #37CC41 #3777CC
square
#CC37C2 #CC8B37 #37CC41 #3777CC
split-complementary
#CC37C2 #77CC37 #37CC8B
monochromatic
#6D1C67 #9E2896 #CC37C2 #D868D1 #E599E0

Accessibility & contrast

On white

4.29
#CC37C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CC37C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37C2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37C2#FFFFFF#000000##000000
##CC37C21.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#6681BE
Tritanopia (blue-blind)
#D44A7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc37c2;
/* rgb */ color: rgb(204, 55, 194);
/* oklch */ color: oklch(61.1% 0.235 331.0);
Tailwind
colors: {
  custom: {
    50: '#e07dd5',
    500: '#cc37c2',
    950: '#000000',
  },
}
SCSS
$custom: #cc37c2;
$custom-light: #e07dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37c2",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 304.027,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61056,
    "c": 0.23462,
    "h": 331
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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