#D879FD#D879FD

#D879FD is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.1% C 0.203 H 315.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#D879FD
RGBrgb(216, 121, 253)
HSLhsl(283, 97%, 73%)
HSVhsv(283, 52%, 99%)
CMYKcmyk(14.6%, 52.2%, 0%, 0.8%)
CIE-LABlab(66.03, 57.65, -50.97)
CIE-LCHlch(66.03, 76.95, 318.52°)
OKLaboklab(73.13% 0.1455 -0.142)
OKLCHoklch(73.13% 0.203 315.7)
XYZxyz(52.8832, 35.3672, 96.9503)
Luminance0.3537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D879FD #9EFD79
analogous
#9679FD #D879FD #FD79E0
triadic
#D879FD #FDD879 #79FDD8
tetradic
#D879FD #FD9679 #9EFD79 #79E0FD
square
#D879FD #FD9679 #9EFD79 #79E0FD
split-complementary
#D879FD #E0FD79 #79FD96
monochromatic
#B304F8 #C63DFC #D879FD #EAB5FE #F6E1FF

Accessibility & contrast

On white

2.60
#D879FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#D879FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D879FD
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D879FD#FFFFFF#000000##000000
##D879FD1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#79A3FA
Tritanopia (blue-blind)
#D68EB0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d879fd;
/* rgb */ color: rgb(216, 121, 253);
/* oklch */ color: oklch(73.1% 0.203 315.7);
Tailwind
colors: {
  custom: {
    50: '#e7a3fe',
    500: '#d879fd',
    950: '#000000',
  },
}
SCSS
$custom: #d879fd;
$custom-light: #e7a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d879fd",
  "rgb": {
    "r": 216,
    "g": 121,
    "b": 253
  },
  "hsl": {
    "h": 283.182,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73134,
    "c": 0.20336,
    "h": 315.7
  },
  "luminance": 0.35366
}

Semantic roles & 50–950 ramp

primary
#D879FD
secondary
#DEF7D4
accent
#E60040
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D879FD

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

Preview Lab → · Contrast checker → · Palette generator →

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