#CD37C7#CD37C7

#CD37C7 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.5% C 0.239 H 329.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CD37C7
RGBrgb(205, 55, 199)
HSLhsl(302, 60%, 51%)
HSVhsv(302, 73%, 80%)
CMYKcmyk(0%, 73.2%, 2.9%, 19.6%)
CIE-LABlab(51.65, 72.98, -43.51)
CIE-LCHlch(51.65, 84.97, 329.20°)
OKLaboklab(61.48% 0.2063 -0.1202)
OKLCHoklch(61.48% 0.239 329.8)
XYZxyz(36.8516, 19.8379, 55.9099)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37C7 #37CD3D
analogous
#8837CD #CD37C7 #CD377C
triadic
#CD37C7 #C7CD37 #37C7CD
tetradic
#CD37C7 #CD8837 #37CD3D #377CCD
square
#CD37C7 #CD8837 #37CD3D #377CCD
split-complementary
#CD37C7 #7CCD37 #37CD88
monochromatic
#6E1C6B #9F289A #CD37C7 #D968D5 #E599E2

Accessibility & contrast

On white

4.23
#CD37C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CD37C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37C7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37C7#FFFFFF#000000##000000
##CD37C71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#226ECB
Deuteranopia (green-blind)
#6482C3
Tritanopia (blue-blind)
#D44C7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd37c7;
/* rgb */ color: rgb(205, 55, 199);
/* oklch */ color: oklch(61.5% 0.239 329.8);
Tailwind
colors: {
  custom: {
    50: '#e07dd8',
    500: '#cd37c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd37c7;
$custom-light: #e07dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37c7",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 302.4,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61476,
    "c": 0.23875,
    "h": 329.8
  },
  "luminance": 0.19835
}

Semantic roles & 50–950 ramp

primary
#CD37C7
secondary
#8FD191
accent
#E34B45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD37C7

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

Preview Lab → · Contrast checker → · Palette generator →

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