#CC37CC#CC37CC

#CC37CC is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.6% C 0.242 H 328.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC37CC
RGBrgb(204, 55, 204)
HSLhsl(300, 59%, 51%)
HSVhsv(300, 73%, 80%)
CMYKcmyk(0%, 73%, 0%, 20%)
CIE-LABlab(51.76, 73.56, -46.23)
CIE-LCHlch(51.76, 86.88, 327.85°)
OKLaboklab(61.61% 0.2053 -0.1281)
OKLCHoklch(61.61% 0.242 328)
XYZxyz(37.1667, 19.9321, 59.0048)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37CC #37CC37
analogous
#8137CC #CC37CC #CC3781
triadic
#CC37CC #CCCC37 #37CCCC
tetradic
#CC37CC #CC8137 #37CC37 #3781CC
square
#CC37CC #CC8137 #37CC37 #3781CC
split-complementary
#CC37CC #81CC37 #37CC81
monochromatic
#6D1C6D #9E289E #CC37CC #D868D8 #E599E5

Accessibility & contrast

On white

4.21
#CC37CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CC37CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37CC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37CC#FFFFFF#000000##000000
##CC37CC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#176FD0
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#D24F7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc37cc;
/* rgb */ color: rgb(204, 55, 204);
/* oklch */ color: oklch(61.6% 0.242 328.0);
Tailwind
colors: {
  custom: {
    50: '#e07ddc',
    500: '#cc37cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc37cc;
$custom-light: #e07ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37cc",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.24196,
    "h": 328
  },
  "luminance": 0.19929
}

Semantic roles & 50–950 ramp

primary
#CC37CC
secondary
#8ED08E
accent
#E34545
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC37CC

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

Preview Lab → · Contrast checker → · Palette generator →

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