#D939D2#D939D2

#D939D2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 64.0% C 0.250 H 330.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#D939D2
RGBrgb(217, 57, 210)
HSLhsl(303, 68%, 54%)
HSVhsv(303, 74%, 85%)
CMYKcmyk(0%, 73.7%, 3.2%, 14.9%)
CIE-LABlab(54.38, 76.60, -45.38)
CIE-LCHlch(54.38, 89.03, 329.36°)
OKLaboklab(63.99% 0.2168 -0.1253)
OKLCHoklch(63.99% 0.25 330)
XYZxyz(41.7110, 22.3344, 63.0744)
Luminance0.2233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D939D2 #39D940
analogous
#9039D9 #D939D2 #D93982
triadic
#D939D2 #D2D939 #39D2D9
tetradic
#D939D2 #D99039 #39D940 #3982D9
square
#D939D2 #D99039 #39D940 #3982D9
split-complementary
#D939D2 #82D939 #39D990
monochromatic
#7F187B #B322AC #D939D2 #E36CDE #EDA0E9

Accessibility & contrast

On white

3.84
#D939D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#D939D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D939D2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D939D2#FFFFFF#000000##000000
##D939D21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2374D6
Deuteranopia (green-blind)
#6A8ACE
Tritanopia (blue-blind)
#E14F83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d939d2;
/* rgb */ color: rgb(217, 57, 210);
/* oklch */ color: oklch(64.0% 0.250 330.0);
Tailwind
colors: {
  custom: {
    50: '#e980e0',
    500: '#d939d2',
    950: '#000000',
  },
}
SCSS
$custom: #d939d2;
$custom-light: #e980e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d939d2",
  "rgb": {
    "r": 217,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 302.625,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.63985,
    "c": 0.25042,
    "h": 330
  },
  "luminance": 0.22331
}

Semantic roles & 50–950 ramp

primary
#D939D2
secondary
#95D998
accent
#EB453D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D939D2

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

Preview Lab → · Contrast checker → · Palette generator →

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