#CD37B8#CD37B8

#CD37B8 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.228 H 334.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CD37B8
RGBrgb(205, 55, 184)
HSLhsl(308, 60%, 51%)
HSVhsv(308, 73%, 80%)
CMYKcmyk(0%, 73.2%, 10.2%, 19.6%)
CIE-LABlab(50.89, 70.72, -36.02)
CIE-LCHlch(50.89, 79.36, 333.01°)
OKLaboklab(60.68% 0.2056 -0.0986)
OKLCHoklch(60.68% 0.228 334.4)
XYZxyz(35.1951, 19.1753, 47.1857)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37B8 #37CD4C
analogous
#9737CD #CD37B8 #CD376D
triadic
#CD37B8 #B8CD37 #37B8CD
tetradic
#CD37B8 #CD9737 #37CD4C #376DCD
square
#CD37B8 #CD9737 #37CD4C #376DCD
split-complementary
#CD37B8 #6DCD37 #37CD97
monochromatic
#6E1C63 #9F288E #CD37B8 #D968C9 #E599DB

Accessibility & contrast

On white

4.34
#CD37B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CD37B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37B8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37B8#FFFFFF#000000##000000
##CD37B81.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#356BBC
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#D74474
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd37b8;
/* rgb */ color: rgb(205, 55, 184);
/* oklch */ color: oklch(60.7% 0.228 334.4);
Tailwind
colors: {
  custom: {
    50: '#e07ccd',
    500: '#cd37b8',
    950: '#000000',
  },
}
SCSS
$custom: #cd37b8;
$custom-light: #e07ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37b8",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 308.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60682,
    "c": 0.22804,
    "h": 334.4
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#CD37B8
secondary
#8FD198
accent
#E35B45
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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