#CC37CB#CC37CB

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

Color values

HEX#CC37CB
RGBrgb(204, 55, 203)
HSLhsl(300, 59%, 51%)
HSVhsv(300, 73%, 80%)
CMYKcmyk(0%, 73%, 0.5%, 20%)
CIE-LABlab(51.71, 73.40, -45.74)
CIE-LCHlch(51.71, 86.49, 328.07°)
OKLaboklab(61.55% 0.2053 -0.1267)
OKLCHoklch(61.55% 0.241 328.3)
XYZxyz(37.0471, 19.8843, 58.3751)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37CB #37CC38
analogous
#8237CC #CC37CB #CC3780
triadic
#CC37CB #CBCC37 #37CBCC
tetradic
#CC37CB #CC8237 #37CC38 #3780CC
square
#CC37CB #CC8237 #37CC38 #3780CC
split-complementary
#CC37CB #80CC37 #37CC82
monochromatic
#6D1C6C #9E289D #CC37CB #D868D8 #E599E4

Accessibility & contrast

On white

4.22
#CC37CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CC37CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37CB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37CB#FFFFFF#000000##000000
##CC37CB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#D34E7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc37cb;
/* rgb */ color: rgb(204, 55, 203);
/* oklch */ color: oklch(61.6% 0.241 328.3);
Tailwind
colors: {
  custom: {
    50: '#e07ddb',
    500: '#cc37cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc37cb;
$custom-light: #e07ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37cb",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 300.403,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.24121,
    "h": 328.3
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#CC37CB
secondary
#8ED08F
accent
#E34645
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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