#D937C2#D937C2

#D937C2 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 63.0% C 0.241 H 334.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#D937C2
RGBrgb(217, 55, 194)
HSLhsl(309, 68%, 53%)
HSVhsv(309, 75%, 85%)
CMYKcmyk(0%, 74.7%, 10.6%, 14.9%)
CIE-LABlab(53.37, 74.83, -37.79)
CIE-LCHlch(53.37, 83.83, 333.20°)
OKLaboklab(63% 0.2179 -0.1034)
OKLCHoklch(63% 0.241 334.6)
XYZxyz(39.7195, 21.3827, 53.0638)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D937C2 #37D94E
analogous
#9F37D9 #D937C2 #D93771
triadic
#D937C2 #C2D937 #37C2D9
tetradic
#D937C2 #D99F37 #37D94E #3771D9
square
#D937C2 #D99F37 #37D94E #3771D9
split-complementary
#D937C2 #71D937 #37D99F
monochromatic
#7E186F #B1229D #D937C2 #E36AD2 #ED9EE1

Accessibility & contrast

On white

3.98
#D937C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#D937C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D937C2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D937C2#FFFFFF#000000##000000
##D937C21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C6
Deuteranopia (green-blind)
#7188BE
Tritanopia (blue-blind)
#E3467A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d937c2;
/* rgb */ color: rgb(217, 55, 194);
/* oklch */ color: oklch(63.0% 0.241 334.6);
Tailwind
colors: {
  custom: {
    50: '#e97ed5',
    500: '#d937c2',
    950: '#000000',
  },
}
SCSS
$custom: #d937c2;
$custom-light: #e97ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#d937c2",
  "rgb": {
    "r": 217,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 308.519,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.62996,
    "c": 0.24123,
    "h": 334.6
  },
  "luminance": 0.21379
}

Semantic roles & 50–950 ramp

primary
#D937C2
secondary
#93D99D
accent
#EB563D
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #D937C2

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

Preview Lab → · Contrast checker → · Palette generator →

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