#D337C7#D337C7

#D337C7 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.4% C 0.242 H 331.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D337C7
RGBrgb(211, 55, 199)
HSLhsl(305, 64%, 52%)
HSVhsv(305, 74%, 83%)
CMYKcmyk(0%, 73.9%, 5.7%, 17.3%)
CIE-LABlab(52.63, 74.26, -41.91)
CIE-LCHlch(52.63, 85.27, 330.56°)
OKLaboklab(62.36% 0.2123 -0.1154)
OKLCHoklch(62.36% 0.242 331.5)
XYZxyz(38.5390, 20.7079, 55.9890)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337C7 #37D343
analogous
#9137D3 #D337C7 #D33779
triadic
#D337C7 #C7D337 #37C7D3
tetradic
#D337C7 #D39137 #37D343 #3779D3
square
#D337C7 #D39137 #37D343 #3779D3
split-complementary
#D337C7 #79D337 #37D391
monochromatic
#761A6F #A8259E #D337C7 #DE69D5 #E99BE3

Accessibility & contrast

On white

4.08
#D337C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D337C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337C7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337C7#FFFFFF#000000##000000
##D337C71.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2970CB
Deuteranopia (green-blind)
#6985C3
Tritanopia (blue-blind)
#DC4A7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d337c7;
/* rgb */ color: rgb(211, 55, 199);
/* oklch */ color: oklch(62.4% 0.242 331.5);
Tailwind
colors: {
  custom: {
    50: '#e57ed8',
    500: '#d337c7',
    950: '#000000',
  },
}
SCSS
$custom: #d337c7;
$custom-light: #e57ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#d337c7",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 304.615,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6236,
    "c": 0.24166,
    "h": 331.5
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#D337C7
secondary
#91D596
accent
#E74E41
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D337C7

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

Preview Lab → · Contrast checker → · Palette generator →

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