#CC37CD#CC37CD

#CC37CD is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.7% C 0.243 H 327.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC37CD
RGBrgb(204, 55, 205)
HSLhsl(300, 60%, 51%)
HSVhsv(300, 73%, 80%)
CMYKcmyk(0.5%, 73.2%, 0%, 19.6%)
CIE-LABlab(51.81, 73.72, -46.72)
CIE-LCHlch(51.81, 87.27, 327.64°)
OKLaboklab(61.66% 0.2052 -0.1295)
OKLCHoklch(61.66% 0.243 327.7)
XYZxyz(37.2870, 19.9802, 59.6384)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC37CD #38CD37
analogous
#8137CD #CC37CD #CD3783
triadic
#CC37CD #CDCC37 #37CDCC
tetradic
#CC37CD #CD8137 #38CD37 #3783CD
square
#CC37CD #CD8137 #38CD37 #3783CD
split-complementary
#CC37CD #83CD37 #37CD81
monochromatic
#6E1C6E #9E289F #CC37CD #D868D9 #E599E5

Accessibility & contrast

On white

4.20
#CC37CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CC37CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC37CD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC37CD#FFFFFF#000000##000000
##CC37CD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#D24F80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc37cd;
/* rgb */ color: rgb(204, 55, 205);
/* oklch */ color: oklch(61.7% 0.243 327.7);
Tailwind
colors: {
  custom: {
    50: '#e07ddd',
    500: '#cc37cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc37cd;
$custom-light: #e07ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc37cd",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 299.6,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.2427,
    "h": 327.7
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#CC37CD
secondary
#8FD18F
accent
#E34546
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC37CD

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

Preview Lab → · Contrast checker → · Palette generator →

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