#D876FE#D876FE

#D876FE is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 72.8% C 0.209 H 315.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D876FE
RGBrgb(216, 118, 254)
HSLhsl(283, 99%, 73%)
HSVhsv(283, 54%, 100%)
CMYKcmyk(15%, 53.5%, 0%, 0.4%)
CIE-LABlab(65.52, 59.32, -52.33)
CIE-LCHlch(65.52, 79.10, 318.59°)
OKLaboklab(72.78% 0.1495 -0.146)
OKLCHoklch(72.78% 0.209 315.7)
XYZxyz(52.6840, 34.7132, 97.6718)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D876FE #9CFE76
analogous
#9476FE #D876FE #FE76E0
triadic
#D876FE #FED876 #76FED8
tetradic
#D876FE #FE9476 #9CFE76 #76E0FE
square
#D876FE #FE9476 #9CFE76 #76E0FE
split-complementary
#D876FE #E0FE76 #76FE94
monochromatic
#B302F8 #C739FE #D876FE #E9B3FE #F6E1FF

Accessibility & contrast

On white

2.64
#D876FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D876FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D876FE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D876FE#FFFFFF#000000##000000
##D876FE1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#76A2FA
Tritanopia (blue-blind)
#D68CAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d876fe;
/* rgb */ color: rgb(216, 118, 254);
/* oklch */ color: oklch(72.8% 0.209 315.7);
Tailwind
colors: {
  custom: {
    50: '#e7a1ff',
    500: '#d876fe',
    950: '#000000',
  },
}
SCSS
$custom: #d876fe;
$custom-light: #e7a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d876fe",
  "rgb": {
    "r": 216,
    "g": 118,
    "b": 254
  },
  "hsl": {
    "h": 283.235,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72776,
    "c": 0.20892,
    "h": 315.7
  },
  "luminance": 0.34712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D876FE

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

Preview Lab → · Contrast checker → · Palette generator →

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