#D939D9#D939D9

#D939D9 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.4% C 0.255 H 328.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D939D9
RGBrgb(217, 57, 217)
HSLhsl(300, 68%, 54%)
HSVhsv(300, 74%, 85%)
CMYKcmyk(0%, 73.7%, 0%, 14.9%)
CIE-LABlab(54.75, 77.68, -48.77)
CIE-LCHlch(54.75, 91.72, 327.88°)
OKLaboklab(64.37% 0.2168 -0.1352)
OKLCHoklch(64.37% 0.255 328)
XYZxyz(42.6023, 22.6909, 67.7681)
Luminance0.2269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D939D9 #39D939
analogous
#8939D9 #D939D9 #D93989
triadic
#D939D9 #D9D939 #39D9D9
tetradic
#D939D9 #D98939 #39D939 #3989D9
square
#D939D9 #D98939 #39D939 #3989D9
split-complementary
#D939D9 #89D939 #39D989
monochromatic
#7F187F #B322B3 #D939D9 #E36CE3 #EDA0ED

Accessibility & contrast

On white

3.79
#D939D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D939D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D939D9
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D939D9#FFFFFF#000000##000000
##D939D91.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1376DD
Deuteranopia (green-blind)
#668AD5
Tritanopia (blue-blind)
#E05387
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d939d9;
/* rgb */ color: rgb(217, 57, 217);
/* oklch */ color: oklch(64.4% 0.255 328.0);
Tailwind
colors: {
  custom: {
    50: '#e980e5',
    500: '#d939d9',
    950: '#000000',
  },
}
SCSS
$custom: #d939d9;
$custom-light: #e980e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d939d9",
  "rgb": {
    "r": 217,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 300,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.64371,
    "c": 0.25549,
    "h": 328
  },
  "luminance": 0.22688
}

Semantic roles & 50–950 ramp

primary
#D939D9
secondary
#95D995
accent
#EB3D3D
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D939D9

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

Preview Lab → · Contrast checker → · Palette generator →

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