#D837D1#D837D1

#D837D1 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.6% C 0.251 H 330.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#D837D1
RGBrgb(216, 55, 209)
HSLhsl(303, 67%, 53%)
HSVhsv(303, 75%, 85%)
CMYKcmyk(0%, 74.5%, 3.2%, 15.3%)
CIE-LABlab(53.96, 76.83, -45.48)
CIE-LCHlch(53.96, 89.28, 329.38°)
OKLaboklab(63.64% 0.2175 -0.1257)
OKLCHoklch(63.64% 0.251 330)
XYZxyz(41.1935, 21.9380, 62.3741)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D837D1 #37D83E
analogous
#8F37D8 #D837D1 #D83780
triadic
#D837D1 #D1D837 #37D1D8
tetradic
#D837D1 #D88F37 #37D83E #3780D8
square
#D837D1 #D88F37 #37D83E #3780D8
split-complementary
#D837D1 #80D837 #37D88F
monochromatic
#7C1878 #B022A9 #D837D1 #E26ADD #EC9DE9

Accessibility & contrast

On white

3.90
#D837D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#D837D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D837D1
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D837D1#FFFFFF#000000##000000
##D837D11.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2073D5
Deuteranopia (green-blind)
#6889CD
Tritanopia (blue-blind)
#E04E82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d837d1;
/* rgb */ color: rgb(216, 55, 209);
/* oklch */ color: oklch(63.6% 0.251 330.0);
Tailwind
colors: {
  custom: {
    50: '#e87fdf',
    500: '#d837d1',
    950: '#000000',
  },
}
SCSS
$custom: #d837d1;
$custom-light: #e87fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#d837d1",
  "rgb": {
    "r": 216,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 302.609,
    "s": 67.364,
    "l": 53.137
  },
  "oklch": {
    "l": 0.63637,
    "c": 0.25117,
    "h": 330
  },
  "luminance": 0.21935
}

Semantic roles & 50–950 ramp

primary
#D837D1
secondary
#93D896
accent
#EA453E
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D837D1

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

Preview Lab → · Contrast checker → · Palette generator →

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