#D879EF#D879EF

#D879EF is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.4% C 0.189 H 319.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D879EF
RGBrgb(216, 121, 239)
HSLhsl(288, 79%, 71%)
HSVhsv(288, 49%, 94%)
CMYKcmyk(9.6%, 49.4%, 0%, 6.3%)
CIE-LABlab(65.36, 54.89, -44.33)
CIE-LCHlch(65.36, 70.55, 321.08°)
OKLaboklab(72.42% 0.144 -0.1228)
OKLCHoklch(72.42% 0.189 319.6)
XYZxyz(50.7343, 34.5076, 85.6328)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D879EF #90EF79
analogous
#9D79EF #D879EF #EF79CB
triadic
#D879EF #EFD879 #79EFD8
tetradic
#D879EF #EF9D79 #90EF79 #79CBEF
square
#D879EF #EF9D79 #90EF79 #79CBEF
split-complementary
#D879EF #CBEF79 #79EF9D
monochromatic
#B019D4 #C842E8 #D879EF #E8B0F6 #F7E4FC

Accessibility & contrast

On white

2.66
#D879EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D879EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D879EF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D879EF#FFFFFF#000000##000000
##D879EF1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#D989A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d879ef;
/* rgb */ color: rgb(216, 121, 239);
/* oklch */ color: oklch(72.4% 0.189 319.6);
Tailwind
colors: {
  custom: {
    50: '#e6a3f4',
    500: '#d879ef',
    950: '#000000',
  },
}
SCSS
$custom: #d879ef;
$custom-light: #e6a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d879ef",
  "rgb": {
    "r": 216,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 288.305,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72421,
    "c": 0.18927,
    "h": 319.6
  },
  "luminance": 0.34506
}

Semantic roles & 50–950 ramp

primary
#D879EF
secondary
#D8F2D2
accent
#DB0B33
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D879EF

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

Preview Lab → · Contrast checker → · Palette generator →

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