#CD37B5#CD37B5

#CD37B5 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.5% C 0.226 H 335.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CD37B5
RGBrgb(205, 55, 181)
HSLhsl(310, 60%, 51%)
HSVhsv(310, 73%, 80%)
CMYKcmyk(0%, 73.2%, 11.7%, 19.6%)
CIE-LABlab(50.75, 70.29, -34.50)
CIE-LCHlch(50.75, 78.29, 333.86°)
OKLaboklab(60.53% 0.2054 -0.0942)
OKLCHoklch(60.53% 0.226 335.4)
XYZxyz(34.8840, 19.0508, 45.5471)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37B5 #37CD4F
analogous
#9A37CD #CD37B5 #CD376A
triadic
#CD37B5 #B5CD37 #37B5CD
tetradic
#CD37B5 #CD9A37 #37CD4F #376ACD
square
#CD37B5 #CD9A37 #37CD4F #376ACD
split-complementary
#CD37B5 #6ACD37 #37CD9A
monochromatic
#6E1C61 #9F288C #CD37B5 #D968C7 #E599D9

Accessibility & contrast

On white

4.37
#CD37B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CD37B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37B5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37B5#FFFFFF#000000##000000
##CD37B51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#376BB8
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#D74372
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cd37b5;
/* rgb */ color: rgb(205, 55, 181);
/* oklch */ color: oklch(60.5% 0.226 335.4);
Tailwind
colors: {
  custom: {
    50: '#e07ccb',
    500: '#cd37b5',
    950: '#000000',
  },
}
SCSS
$custom: #cd37b5;
$custom-light: #e07ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37b5",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 309.6,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.22598,
    "h": 335.4
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#CD37B5
secondary
#8FD199
accent
#E35E45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD37B5

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

Preview Lab → · Contrast checker → · Palette generator →

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