#D879EA#D879EA

#D879EA is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.2% C 0.184 H 321.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D879EA
RGBrgb(216, 121, 234)
HSLhsl(290, 73%, 70%)
HSVhsv(290, 48%, 92%)
CMYKcmyk(7.7%, 48.3%, 0%, 8.2%)
CIE-LABlab(65.13, 53.93, -41.93)
CIE-LCHlch(65.13, 68.31, 322.14°)
OKLaboklab(72.18% 0.1434 -0.1158)
OKLCHoklch(72.18% 0.184 321.1)
XYZxyz(50.0058, 34.2162, 81.7963)
Luminance0.3421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D879EA #8BEA79
analogous
#9F79EA #D879EA #EA79C4
triadic
#D879EA #EAD879 #79EAD8
tetradic
#D879EA #EA9F79 #8BEA79 #79C4EA
square
#D879EA #EA9F79 #8BEA79 #79C4EA
split-complementary
#D879EA #C4EA79 #79EA9F
monochromatic
#AE20C9 #C944E2 #D879EA #E7AEF2 #F7E3FB

Accessibility & contrast

On white

2.68
#D879EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D879EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D879EA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D879EA#FFFFFF#000000##000000
##D879EA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6897EE
Deuteranopia (green-blind)
#84A2E7
Tritanopia (blue-blind)
#DA88A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d879ea;
/* rgb */ color: rgb(216, 121, 234);
/* oklch */ color: oklch(72.2% 0.184 321.1);
Tailwind
colors: {
  custom: {
    50: '#e6a3f1',
    500: '#d879ea',
    950: '#000000',
  },
}
SCSS
$custom: #d879ea;
$custom-light: #e6a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d879ea",
  "rgb": {
    "r": 216,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 290.442,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72176,
    "c": 0.18433,
    "h": 321.1
  },
  "luminance": 0.34214
}

Semantic roles & 50–950 ramp

primary
#D879EA
secondary
#D4F0CF
accent
#D51130
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D879EA

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

Preview Lab → · Contrast checker → · Palette generator →

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