#D337CB#D337CB

#D337CB is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.6% C 0.245 H 330.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D337CB
RGBrgb(211, 55, 203)
HSLhsl(303, 64%, 52%)
HSVhsv(303, 74%, 83%)
CMYKcmyk(0%, 73.9%, 3.8%, 17.3%)
CIE-LABlab(52.84, 74.87, -43.88)
CIE-LCHlch(52.84, 86.78, 329.63°)
OKLaboklab(62.58% 0.2124 -0.1211)
OKLCHoklch(62.58% 0.245 330.3)
XYZxyz(39.0095, 20.8961, 58.4671)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337CB #37D33F
analogous
#8D37D3 #D337CB #D3377D
triadic
#D337CB #CBD337 #37CBD3
tetradic
#D337CB #D38D37 #37D33F #377DD3
square
#D337CB #D38D37 #37D33F #377DD3
split-complementary
#D337CB #7DD337 #37D38D
monochromatic
#761A71 #A825A1 #D337CB #DE69D8 #E99BE5

Accessibility & contrast

On white

4.06
#D337CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D337CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337CB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337CB#FFFFFF#000000##000000
##D337CB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2371CF
Deuteranopia (green-blind)
#6785C7
Tritanopia (blue-blind)
#DB4C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d337cb;
/* rgb */ color: rgb(211, 55, 203);
/* oklch */ color: oklch(62.6% 0.245 330.3);
Tailwind
colors: {
  custom: {
    50: '#e57edb',
    500: '#d337cb',
    950: '#000000',
  },
}
SCSS
$custom: #d337cb;
$custom-light: #e57edb;
$custom-dark: #000000;
JSON
{
  "hex": "#d337cb",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 303.077,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.62576,
    "c": 0.24451,
    "h": 330.3
  },
  "luminance": 0.20893
}

Semantic roles & 50–950 ramp

primary
#D337CB
secondary
#91D594
accent
#E74941
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D337CB

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

Preview Lab → · Contrast checker → · Palette generator →

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