#D337C0#D337C0

#D337C0 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 62.0% C 0.237 H 333.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D337C0
RGBrgb(211, 55, 192)
HSLhsl(307, 64%, 52%)
HSVhsv(307, 74%, 83%)
CMYKcmyk(0%, 73.9%, 9%, 17.3%)
CIE-LABlab(52.28, 73.22, -38.42)
CIE-LCHlch(52.28, 82.69, 332.31°)
OKLaboklab(61.99% 0.212 -0.1054)
OKLCHoklch(61.99% 0.237 333.6)
XYZxyz(37.7449, 20.3903, 51.8068)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337C0 #37D34A
analogous
#9837D3 #D337C0 #D33772
triadic
#D337C0 #C0D337 #37C0D3
tetradic
#D337C0 #D39837 #37D34A #3772D3
square
#D337C0 #D39837 #37D34A #3772D3
split-complementary
#D337C0 #72D337 #37D398
monochromatic
#761A6B #A82598 #D337C0 #DE69D0 #E99BE0

Accessibility & contrast

On white

4.14
#D337C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D337C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337C0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337C0#FFFFFF#000000##000000
##D337C01.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#326EC4
Deuteranopia (green-blind)
#6D85BC
Tritanopia (blue-blind)
#DD4779
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d337c0;
/* rgb */ color: rgb(211, 55, 192);
/* oklch */ color: oklch(62.0% 0.237 333.6);
Tailwind
colors: {
  custom: {
    50: '#e57dd3',
    500: '#d337c0',
    950: '#000000',
  },
}
SCSS
$custom: #d337c0;
$custom-light: #e57dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#d337c0",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 307.308,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61993,
    "c": 0.23676,
    "h": 333.6
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#D337C0
secondary
#91D599
accent
#E75541
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D337C0

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

Preview Lab → · Contrast checker → · Palette generator →

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