#CD37BD#CD37BD

#CD37BD is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.232 H 332.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CD37BD
RGBrgb(205, 55, 189)
HSLhsl(306, 60%, 51%)
HSVhsv(306, 73%, 80%)
CMYKcmyk(0%, 73.2%, 7.8%, 19.6%)
CIE-LABlab(51.14, 71.46, -38.54)
CIE-LCHlch(51.14, 81.19, 331.66°)
OKLaboklab(60.94% 0.206 -0.1058)
OKLCHoklch(60.94% 0.232 332.8)
XYZxyz(35.7285, 19.3886, 49.9949)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37BD #37CD47
analogous
#9237CD #CD37BD #CD3772
triadic
#CD37BD #BDCD37 #37BDCD
tetradic
#CD37BD #CD9237 #37CD47 #3772CD
square
#CD37BD #CD9237 #37CD47 #3772CD
split-complementary
#CD37BD #72CD37 #37CD92
monochromatic
#6E1C65 #9F2892 #CD37BD #D968CD #E599DD

Accessibility & contrast

On white

4.31
#CD37BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CD37BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37BD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37BD#FFFFFF#000000##000000
##CD37BD1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC1
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#D64777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd37bd;
/* rgb */ color: rgb(205, 55, 189);
/* oklch */ color: oklch(60.9% 0.232 332.8);
Tailwind
colors: {
  custom: {
    50: '#e07dd1',
    500: '#cd37bd',
    950: '#000000',
  },
}
SCSS
$custom: #cd37bd;
$custom-light: #e07dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37bd",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 306.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.6094,
    "c": 0.23155,
    "h": 332.8
  },
  "luminance": 0.19386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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