#D939D5#D939D5

#D939D5 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 64.1% C 0.253 H 329.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#D939D5
RGBrgb(217, 57, 213)
HSLhsl(302, 68%, 54%)
HSVhsv(302, 74%, 85%)
CMYKcmyk(0%, 73.7%, 1.8%, 14.9%)
CIE-LABlab(54.54, 77.06, -46.84)
CIE-LCHlch(54.54, 90.18, 328.71°)
OKLaboklab(64.15% 0.2168 -0.1296)
OKLCHoklch(64.15% 0.253 329.1)
XYZxyz(42.0883, 22.4853, 65.0612)
Luminance0.2248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D939D5 #39D93D
analogous
#8D39D9 #D939D5 #D93985
triadic
#D939D5 #D5D939 #39D5D9
tetradic
#D939D5 #D98D39 #39D93D #3985D9
square
#D939D5 #D98D39 #39D93D #3985D9
split-complementary
#D939D5 #85D939 #39D98D
monochromatic
#7F187D #B322AF #D939D5 #E36CE0 #EDA0EB

Accessibility & contrast

On white

3.82
#D939D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#D939D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D939D5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D939D5#FFFFFF#000000##000000
##D939D51.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D75D9
Deuteranopia (green-blind)
#688AD1
Tritanopia (blue-blind)
#E05185
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d939d5;
/* rgb */ color: rgb(217, 57, 213);
/* oklch */ color: oklch(64.1% 0.253 329.1);
Tailwind
colors: {
  custom: {
    50: '#e980e2',
    500: '#d939d5',
    950: '#000000',
  },
}
SCSS
$custom: #d939d5;
$custom-light: #e980e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d939d5",
  "rgb": {
    "r": 217,
    "g": 57,
    "b": 213
  },
  "hsl": {
    "h": 301.5,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.64149,
    "c": 0.25259,
    "h": 329.1
  },
  "luminance": 0.22482
}

Semantic roles & 50–950 ramp

primary
#D939D5
secondary
#95D996
accent
#EB413D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #D939D5

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

Preview Lab → · Contrast checker → · Palette generator →

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