#D839D9#D839D9

#D839D9 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 64.2% C 0.255 H 327.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D839D9
RGBrgb(216, 57, 217)
HSLhsl(300, 68%, 54%)
HSVhsv(300, 74%, 85%)
CMYKcmyk(0.5%, 73.7%, 0%, 14.9%)
CIE-LABlab(54.59, 77.48, -49.04)
CIE-LCHlch(54.59, 91.69, 327.67°)
OKLaboklab(64.23% 0.2158 -0.136)
OKLCHoklch(64.23% 0.255 327.8)
XYZxyz(42.3059, 22.5380, 67.7542)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D839D9 #3AD939
analogous
#8839D9 #D839D9 #D9398A
triadic
#D839D9 #D9D839 #39D9D8
tetradic
#D839D9 #D98839 #3AD939 #398AD9
square
#D839D9 #D98839 #3AD939 #398AD9
split-complementary
#D839D9 #8AD939 #39D988
monochromatic
#7F187F #B222B3 #D839D9 #E26CE3 #ECA0ED

Accessibility & contrast

On white

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

On black

5.51
#D839D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D839D9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D839D9#FFFFFF#000000##000000
##D839D91.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1176DD
Deuteranopia (green-blind)
#658AD5
Tritanopia (blue-blind)
#DF5387
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d839d9;
/* rgb */ color: rgb(216, 57, 217);
/* oklch */ color: oklch(64.2% 0.255 327.8);
Tailwind
colors: {
  custom: {
    50: '#e880e5',
    500: '#d839d9',
    950: '#000000',
  },
}
SCSS
$custom: #d839d9;
$custom-light: #e880e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d839d9",
  "rgb": {
    "r": 216,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 299.625,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.64227,
    "c": 0.25504,
    "h": 327.8
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D839D9

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

Preview Lab → · Contrast checker → · Palette generator →

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