#CD37B7#CD37B7

#CD37B7 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.6% C 0.227 H 334.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CD37B7
RGBrgb(205, 55, 183)
HSLhsl(309, 60%, 51%)
HSVhsv(309, 73%, 80%)
CMYKcmyk(0%, 73.2%, 10.7%, 19.6%)
CIE-LABlab(50.84, 70.58, -35.51)
CIE-LCHlch(50.84, 79.01, 333.29°)
OKLaboklab(60.63% 0.2056 -0.0971)
OKLCHoklch(60.63% 0.227 334.7)
XYZxyz(35.0907, 19.1335, 46.6356)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37B7 #37CD4D
analogous
#9837CD #CD37B7 #CD376C
triadic
#CD37B7 #B7CD37 #37B7CD
tetradic
#CD37B7 #CD9837 #37CD4D #376CCD
square
#CD37B7 #CD9837 #37CD4D #376CCD
split-complementary
#CD37B7 #6CCD37 #37CD98
monochromatic
#6E1C62 #9F288E #CD37B7 #D968C9 #E599DA

Accessibility & contrast

On white

4.35
#CD37B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD37B7#FFFFFF#000000##000000
##CD37B71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd37b7;
/* rgb */ color: rgb(205, 55, 183);
/* oklch */ color: oklch(60.6% 0.227 334.7);
Tailwind
colors: {
  custom: {
    50: '#e07ccd',
    500: '#cd37b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd37b7;
$custom-light: #e07ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37b7",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 308.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.22736,
    "h": 334.7
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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