#CD37C8#CD37C8

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

Color values

HEX#CD37C8
RGBrgb(205, 55, 200)
HSLhsl(302, 60%, 51%)
HSVhsv(302, 73%, 80%)
CMYKcmyk(0%, 73.2%, 2.4%, 19.6%)
CIE-LABlab(51.71, 73.14, -44.00)
CIE-LCHlch(51.71, 85.36, 328.97°)
OKLaboklab(61.53% 0.2063 -0.1216)
OKLCHoklch(61.53% 0.239 329.5)
XYZxyz(36.9681, 19.8845, 56.5234)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37C8 #37CD3C
analogous
#8737CD #CD37C8 #CD377D
triadic
#CD37C8 #C8CD37 #37C8CD
tetradic
#CD37C8 #CD8737 #37CD3C #377DCD
square
#CD37C8 #CD8737 #37CD3C #377DCD
split-complementary
#CD37C8 #7DCD37 #37CD87
monochromatic
#6E1C6B #9F289B #CD37C8 #D968D5 #E599E3

Accessibility & contrast

On white

4.22
#CD37C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD37C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37C8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37C8#FFFFFF#000000##000000
##CD37C81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#216ECC
Deuteranopia (green-blind)
#6382C4
Tritanopia (blue-blind)
#D44C7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd37c8;
/* rgb */ color: rgb(205, 55, 200);
/* oklch */ color: oklch(61.5% 0.239 329.5);
Tailwind
colors: {
  custom: {
    50: '#e07dd9',
    500: '#cd37c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd37c8;
$custom-light: #e07dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37c8",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 302,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.23948,
    "h": 329.5
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#CD37C8
secondary
#8FD191
accent
#E34A45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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