#CD37C6#CD37C6

#CD37C6 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.238 H 330.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CD37C6
RGBrgb(205, 55, 198)
HSLhsl(303, 60%, 51%)
HSVhsv(303, 73%, 80%)
CMYKcmyk(0%, 73.2%, 3.4%, 19.6%)
CIE-LABlab(51.60, 72.83, -43.02)
CIE-LCHlch(51.60, 84.58, 329.43°)
OKLaboklab(61.42% 0.2063 -0.1188)
OKLCHoklch(61.42% 0.238 330.1)
XYZxyz(36.7359, 19.7916, 55.3005)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD37C6 #37CD3E
analogous
#8937CD #CD37C6 #CD377B
triadic
#CD37C6 #C6CD37 #37C6CD
tetradic
#CD37C6 #CD8937 #37CD3E #377BCD
square
#CD37C6 #CD8937 #37CD3E #377BCD
split-complementary
#CD37C6 #7BCD37 #37CD89
monochromatic
#6E1C6A #9F2899 #CD37C6 #D968D4 #E599E2

Accessibility & contrast

On white

4.24
#CD37C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CD37C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD37C6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD37C6#FFFFFF#000000##000000
##CD37C61.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#246ECA
Deuteranopia (green-blind)
#6482C2
Tritanopia (blue-blind)
#D54B7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd37c6;
/* rgb */ color: rgb(205, 55, 198);
/* oklch */ color: oklch(61.4% 0.238 330.1);
Tailwind
colors: {
  custom: {
    50: '#e07dd8',
    500: '#cd37c6',
    950: '#000000',
  },
}
SCSS
$custom: #cd37c6;
$custom-light: #e07dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd37c6",
  "rgb": {
    "r": 205,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 302.8,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.61421,
    "c": 0.23801,
    "h": 330.1
  },
  "luminance": 0.19789
}

Semantic roles & 50–950 ramp

primary
#CD37C6
secondary
#8FD192
accent
#E34C45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #CD37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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