#D939D7#D939D7

#D939D7 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.3% C 0.254 H 328.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D939D7
RGBrgb(217, 57, 215)
HSLhsl(301, 68%, 54%)
HSVhsv(301, 74%, 85%)
CMYKcmyk(0%, 73.7%, 0.9%, 14.9%)
CIE-LABlab(54.64, 77.37, -47.81)
CIE-LCHlch(54.64, 90.95, 328.29°)
OKLaboklab(64.26% 0.2168 -0.1324)
OKLCHoklch(64.26% 0.254 328.6)
XYZxyz(42.3437, 22.5874, 66.4064)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D939D7 #39D93B
analogous
#8B39D9 #D939D7 #D93987
triadic
#D939D7 #D7D939 #39D7D9
tetradic
#D939D7 #D98B39 #39D93B #3987D9
square
#D939D7 #D98B39 #39D93B #3987D9
split-complementary
#D939D7 #87D939 #39D98B
monochromatic
#7F187E #B322B1 #D939D7 #E36CE1 #EDA0EC

Accessibility & contrast

On white

3.81
#D939D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#D939D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D939D7
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D939D7#FFFFFF#000000##000000
##D939D71.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1975DB
Deuteranopia (green-blind)
#678AD3
Tritanopia (blue-blind)
#E05286
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d939d7;
/* rgb */ color: rgb(217, 57, 215);
/* oklch */ color: oklch(64.3% 0.254 328.6);
Tailwind
colors: {
  custom: {
    50: '#e980e4',
    500: '#d939d7',
    950: '#000000',
  },
}
SCSS
$custom: #d939d7;
$custom-light: #e980e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d939d7",
  "rgb": {
    "r": 217,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 300.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6426,
    "c": 0.25403,
    "h": 328.6
  },
  "luminance": 0.22584
}

Semantic roles & 50–950 ramp

primary
#D939D7
secondary
#95D996
accent
#EB3F3D
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170B15
muted
#857C84

Preview Lab

Preview with #D939D7

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

Preview Lab → · Contrast checker → · Palette generator →

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