#CC37BA#CC37BA

#CC37BA is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.6% C 0.229 H 333.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC37BA
RGBrgb(204, 55, 186)
HSLhsl(307, 59%, 51%)
HSVhsv(307, 73%, 80%)
CMYKcmyk(0%, 73%, 8.8%, 20%)
CIE-LABlab(50.82, 70.79, -37.30)
CIE-LCHlch(50.82, 80.02, 332.22°)
OKLaboklab(60.63% 0.2048 -0.1023)
OKLCHoklch(60.63% 0.229 333.5)
XYZxyz(35.1312, 19.1179, 48.2847)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37BA #37CC49
analogous
#9337CC #CC37BA #CC376F
triadic
#CC37BA #BACC37 #37BACC
tetradic
#CC37BA #CC9337 #37CC49 #376FCC
square
#CC37BA #CC9337 #37CC49 #376FCC
split-complementary
#CC37BA #6FCC37 #37CC93
monochromatic
#6D1C63 #9E288F #CC37BA #D868CB #E599DC

Accessibility & contrast

On white

4.35
#CC37BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CC37BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37BA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37BA#FFFFFF#000000##000000
##CC37BA1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#326BBE
Deuteranopia (green-blind)
#6A81B6
Tritanopia (blue-blind)
#D54675
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc37ba;
/* rgb */ color: rgb(204, 55, 186);
/* oklch */ color: oklch(60.6% 0.229 333.5);
Tailwind
colors: {
  custom: {
    50: '#e07ccf',
    500: '#cc37ba',
    950: '#000000',
  },
}
SCSS
$custom: #cc37ba;
$custom-light: #e07ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37ba",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 307.248,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.22891,
    "h": 333.5
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#CC37BA
secondary
#8ED096
accent
#E35845
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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