#D879EB#D879EB

#D879EB is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.2% C 0.185 H 320.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D879EB
RGBrgb(216, 121, 235)
HSLhsl(290, 74%, 70%)
HSVhsv(290, 49%, 92%)
CMYKcmyk(8.1%, 48.5%, 0%, 7.8%)
CIE-LABlab(65.18, 54.12, -42.41)
CIE-LCHlch(65.18, 68.76, 321.92°)
OKLaboklab(72.22% 0.1435 -0.1172)
OKLCHoklch(72.22% 0.185 320.8)
XYZxyz(50.1499, 34.2738, 82.5550)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D879EB #8CEB79
analogous
#9F79EB #D879EB #EB79C5
triadic
#D879EB #EBD879 #79EBD8
tetradic
#D879EB #EB9F79 #8CEB79 #79C5EB
square
#D879EB #EB9F79 #8CEB79 #79C5EB
split-complementary
#D879EB #C5EB79 #79EB9F
monochromatic
#AE1ECB #C944E3 #D879EB #E7AEF3 #F7E4FB

Accessibility & contrast

On white

2.67
#D879EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#D879EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D879EB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D879EB#FFFFFF#000000##000000
##D879EB1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#DA88A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d879eb;
/* rgb */ color: rgb(216, 121, 235);
/* oklch */ color: oklch(72.2% 0.185 320.8);
Tailwind
colors: {
  custom: {
    50: '#e6a3f2',
    500: '#d879eb',
    950: '#000000',
  },
}
SCSS
$custom: #d879eb;
$custom-light: #e6a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d879eb",
  "rgb": {
    "r": 216,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 290,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72224,
    "c": 0.18531,
    "h": 320.8
  },
  "luminance": 0.34272
}

Semantic roles & 50–950 ramp

primary
#D879EB
secondary
#D5F0D0
accent
#D60F30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D879EB

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

Preview Lab → · Contrast checker → · Palette generator →

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