#D337D4#D337D4

#D337D4 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 63.1% C 0.251 H 327.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D337D4
RGBrgb(211, 55, 212)
HSLhsl(300, 65%, 52%)
HSVhsv(300, 74%, 83%)
CMYKcmyk(0.5%, 74.1%, 0%, 16.9%)
CIE-LABlab(53.32, 76.27, -48.27)
CIE-LCHlch(53.32, 90.26, 327.67°)
OKLaboklab(63.08% 0.2124 -0.1339)
OKLCHoklch(63.08% 0.251 327.8)
XYZxyz(40.1133, 21.3376, 64.2804)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337D4 #38D437
analogous
#8537D4 #D337D4 #D43786
triadic
#D337D4 #D4D337 #37D4D3
tetradic
#D337D4 #D48537 #38D437 #3786D4
square
#D337D4 #D48537 #38D437 #3786D4
split-complementary
#D337D4 #86D437 #37D485
monochromatic
#761A77 #A924A9 #D337D4 #DE69DF #E99CEA

Accessibility & contrast

On white

3.99
#D337D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D337D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337D4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337D4#FFFFFF#000000##000000
##D337D41.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E73D8
Deuteranopia (green-blind)
#6286D0
Tritanopia (blue-blind)
#D95184
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d337d4;
/* rgb */ color: rgb(211, 55, 212);
/* oklch */ color: oklch(63.1% 0.251 327.8);
Tailwind
colors: {
  custom: {
    50: '#e57ee2',
    500: '#d337d4',
    950: '#000000',
  },
}
SCSS
$custom: #d337d4;
$custom-light: #e57ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#d337d4",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 212
  },
  "hsl": {
    "h": 299.618,
    "s": 64.609,
    "l": 52.353
  },
  "oklch": {
    "l": 0.63075,
    "c": 0.25105,
    "h": 327.8
  },
  "luminance": 0.21335
}

Semantic roles & 50–950 ramp

primary
#D337D4
secondary
#92D691
accent
#E84041
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D337D4

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

Preview Lab → · Contrast checker → · Palette generator →

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