#D337EE#D337EE

#D337EE is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.6% C 0.271 H 321.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#D337EE
RGBrgb(211, 55, 238)
HSLhsl(291, 84%, 57%)
HSVhsv(291, 77%, 93%)
CMYKcmyk(11.3%, 76.9%, 0%, 6.7%)
CIE-LABlab(54.82, 80.53, -60.57)
CIE-LCHlch(54.82, 100.77, 323.05°)
OKLaboklab(64.63% 0.2107 -0.1698)
OKLCHoklch(64.63% 0.271 321.1)
XYZxyz(43.6610, 22.7567, 82.9651)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D337EE #52EE37
analogous
#7837EE #D337EE #EE37AD
triadic
#D337EE #EED337 #37EED3
tetradic
#D337EE #EE7837 #52EE37 #37ADEE
square
#D337EE #EE7837 #52EE37 #37ADEE
split-complementary
#D337EE #ADEE37 #37EE78
monochromatic
#880D9D #B912D6 #D337EE #DF6FF3 #ECA8F8

Accessibility & contrast

On white

3.78
#D337EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#D337EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D337EE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D337EE#FFFFFF#000000##000000
##D337EE1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#4F89EA
Tritanopia (blue-blind)
#D55D92
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d337ee;
/* rgb */ color: rgb(211, 55, 238);
/* oklch */ color: oklch(64.6% 0.271 321.1);
Tailwind
colors: {
  custom: {
    50: '#e57ff4',
    500: '#d337ee',
    950: '#000000',
  },
}
SCSS
$custom: #d337ee;
$custom-light: #e57ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#d337ee",
  "rgb": {
    "r": 211,
    "g": 55,
    "b": 238
  },
  "hsl": {
    "h": 291.148,
    "s": 84.332,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64625,
    "c": 0.27061,
    "h": 321.1
  },
  "luminance": 0.22754
}

Semantic roles & 50–950 ramp

primary
#D337EE
secondary
#A6E59B
accent
#FB2D4B
background
#FEF8FF
surface
#FDF0FE
border
#D5CBD6
text
#160B17
muted
#847C85

Preview Lab

Preview with #D337EE

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

Preview Lab → · Contrast checker → · Palette generator →

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