#CD37C9#CD37C9

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

Color values

HEX#CD37C9
RGBrgb(205, 55, 201)
HSLhsl(302, 60%, 51%)
HSVhsv(302, 73%, 80%)
CMYKcmyk(0%, 73.2%, 2%, 19.6%)
CIE-LABlab(51.76, 73.30, -44.49)
CIE-LCHlch(51.76, 85.74, 328.74°)
OKLaboklab(61.59% 0.2063 -0.123)
OKLCHoklch(61.59% 0.24 329.2)
XYZxyz(37.0853, 19.9314, 57.1409)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37C9 #37CD3B
analogous
#8637CD #CD37C9 #CD377E
triadic
#CD37C9 #C9CD37 #37C9CD
tetradic
#CD37C9 #CD8637 #37CD3B #377ECD
square
#CD37C9 #CD8637 #37CD3B #377ECD
split-complementary
#CD37C9 #7ECD37 #37CD86
monochromatic
#6E1C6C #9F289C #CD37C9 #D968D6 #E599E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD37C9#FFFFFF#000000##000000
##CD37C91.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)
#1F6FCD
Deuteranopia (green-blind)
#6382C5
Tritanopia (blue-blind)
#D44D7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd37c9;
/* rgb */ color: rgb(205, 55, 201);
/* oklch */ color: oklch(61.6% 0.240 329.2);
Tailwind
colors: {
  custom: {
    50: '#e07dda',
    500: '#cd37c9',
    950: '#000000',
  },
}
SCSS
$custom: #cd37c9;
$custom-light: #e07dda;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37c9",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 301.6,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61586,
    "c": 0.2402,
    "h": 329.2
  },
  "luminance": 0.19929
}

Semantic roles & 50–950 ramp

primary
#CD37C9
secondary
#8FD190
accent
#E34945
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD37C9

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

Preview Lab → · Contrast checker → · Palette generator →

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