#CC37C7#CC37C7

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

Color values

HEX#CC37C7
RGBrgb(204, 55, 199)
HSLhsl(302, 59%, 51%)
HSVhsv(302, 73%, 80%)
CMYKcmyk(0%, 73%, 2.5%, 20%)
CIE-LABlab(51.49, 72.77, -43.78)
CIE-LCHlch(51.49, 84.92, 328.97°)
OKLaboklab(61.33% 0.2053 -0.121)
OKLCHoklch(61.33% 0.238 329.5)
XYZxyz(36.5766, 19.6961, 55.8970)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37C7 #37CC3C
analogous
#8637CC #CC37C7 #CC377D
triadic
#CC37C7 #C7CC37 #37C7CC
tetradic
#CC37C7 #CC8637 #37CC3C #377DCC
square
#CC37C7 #CC8637 #37CC3C #377DCC
split-complementary
#CC37C7 #7DCC37 #37CC86
monochromatic
#6D1C6A #9E289A #CC37C7 #D868D5 #E599E2

Accessibility & contrast

On white

4.25
#CC37C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC37C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37C7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37C7#FFFFFF#000000##000000
##CC37C71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#6382C3
Tritanopia (blue-blind)
#D34C7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc37c7;
/* rgb */ color: rgb(204, 55, 199);
/* oklch */ color: oklch(61.3% 0.238 329.5);
Tailwind
colors: {
  custom: {
    50: '#e07dd8',
    500: '#cc37c7',
    950: '#000000',
  },
}
SCSS
$custom: #cc37c7;
$custom-light: #e07dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37c7",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 302.013,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61329,
    "c": 0.23826,
    "h": 329.5
  },
  "luminance": 0.19693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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