#CC37BC#CC37BC

#CC37BC is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.230 H 332.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC37BC
RGBrgb(204, 55, 188)
HSLhsl(306, 59%, 51%)
HSVhsv(306, 73%, 80%)
CMYKcmyk(0%, 73%, 7.8%, 20%)
CIE-LABlab(50.92, 71.09, -38.31)
CIE-LCHlch(50.92, 80.75, 331.68°)
OKLaboklab(60.74% 0.2049 -0.1052)
OKLCHoklch(60.74% 0.23 332.8)
XYZxyz(35.3453, 19.2035, 49.4123)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37BC #37CC47
analogous
#9137CC #CC37BC #CC3771
triadic
#CC37BC #BCCC37 #37BCCC
tetradic
#CC37BC #CC9137 #37CC47 #3771CC
square
#CC37BC #CC9137 #37CC47 #3771CC
split-complementary
#CC37BC #71CC37 #37CC91
monochromatic
#6D1C64 #9E2891 #CC37BC #D868CC #E599DD

Accessibility & contrast

On white

4.34
#CC37BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CC37BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37BC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37BC#FFFFFF#000000##000000
##CC37BC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#306CC0
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#D54776
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc37bc;
/* rgb */ color: rgb(204, 55, 188);
/* oklch */ color: oklch(60.7% 0.230 332.8);
Tailwind
colors: {
  custom: {
    50: '#e07cd0',
    500: '#cc37bc',
    950: '#000000',
  },
}
SCSS
$custom: #cc37bc;
$custom-light: #e07cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37bc",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 306.443,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.23033,
    "h": 332.8
  },
  "luminance": 0.19201
}

Semantic roles & 50–950 ramp

primary
#CC37BC
secondary
#8ED095
accent
#E35645
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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