#D337C2#D337C2

#D337C2 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.1% C 0.238 H 333.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D337C2
RGBrgb(211, 55, 194)
HSLhsl(307, 64%, 52%)
HSVhsv(307, 74%, 83%)
CMYKcmyk(0%, 73.9%, 8.1%, 17.3%)
CIE-LABlab(52.38, 73.52, -39.42)
CIE-LCHlch(52.38, 83.42, 331.80°)
OKLaboklab(62.1% 0.2121 -0.1082)
OKLCHoklch(62.1% 0.238 333)
XYZxyz(37.9680, 20.4795, 52.9817)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337C2 #37D348
analogous
#9637D3 #D337C2 #D33774
triadic
#D337C2 #C2D337 #37C2D3
tetradic
#D337C2 #D39637 #37D348 #3774D3
square
#D337C2 #D39637 #37D348 #3774D3
split-complementary
#D337C2 #74D337 #37D396
monochromatic
#761A6C #A8259A #D337C2 #DE69D1 #E99BE1

Accessibility & contrast

On white

4.12
#D337C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D337C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337C2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337C2#FFFFFF#000000##000000
##D337C21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC6
Deuteranopia (green-blind)
#6C85BE
Tritanopia (blue-blind)
#DC487A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d337c2;
/* rgb */ color: rgb(211, 55, 194);
/* oklch */ color: oklch(62.1% 0.238 333.0);
Tailwind
colors: {
  custom: {
    50: '#e57ed5',
    500: '#d337c2',
    950: '#000000',
  },
}
SCSS
$custom: #d337c2;
$custom-light: #e57ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#d337c2",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 306.538,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62097,
    "c": 0.23814,
    "h": 333
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#D337C2
secondary
#91D598
accent
#E75341
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D337C2

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

Preview Lab → · Contrast checker → · Palette generator →

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