#D879FA#D879FA

#D879FA is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.0% C 0.200 H 316.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D879FA
RGBrgb(216, 121, 250)
HSLhsl(284, 93%, 73%)
HSVhsv(284, 52%, 98%)
CMYKcmyk(13.6%, 51.6%, 0%, 2%)
CIE-LABlab(65.89, 57.05, -49.56)
CIE-LCHlch(65.89, 75.57, 319.02°)
OKLaboklab(72.98% 0.1453 -0.1379)
OKLCHoklch(72.98% 0.2 316.5)
XYZxyz(52.4090, 35.1775, 94.4531)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D879FA #9BFA79
analogous
#9779FA #D879FA #FA79DC
triadic
#D879FA #FAD879 #79FAD8
tetradic
#D879FA #FA9779 #9BFA79 #79DCFA
square
#D879FA #FA9779 #9BFA79 #79DCFA
split-complementary
#D879FA #DCFA79 #79FA97
monochromatic
#B309F0 #C73EF8 #D879FA #E9B4FC #F6E2FE

Accessibility & contrast

On white

2.61
#D879FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D879FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D879FA
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D879FA#FFFFFF#000000##000000
##D879FA1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#D78DAE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d879fa;
/* rgb */ color: rgb(216, 121, 250);
/* oklch */ color: oklch(73.0% 0.200 316.5);
Tailwind
colors: {
  custom: {
    50: '#e6a3fc',
    500: '#d879fa',
    950: '#000000',
  },
}
SCSS
$custom: #d879fa;
$custom-light: #e6a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d879fa",
  "rgb": {
    "r": 216,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 284.186,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72978,
    "c": 0.20031,
    "h": 316.5
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

primary
#D879FA
secondary
#DEF6D5
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D879FA

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

Preview Lab → · Contrast checker → · Palette generator →

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