#D875E9#D875E9

#D875E9 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.6% C 0.190 H 321.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D875E9
RGBrgb(216, 117, 233)
HSLhsl(291, 73%, 69%)
HSVhsv(291, 50%, 91%)
CMYKcmyk(7.3%, 49.8%, 0%, 8.6%)
CIE-LABlab(64.33, 55.73, -42.64)
CIE-LCHlch(64.33, 70.17, 322.58°)
OKLaboklab(71.56% 0.1487 -0.1179)
OKLCHoklch(71.56% 0.19 321.6)
XYZxyz(49.3865, 33.2068, 80.8831)
Luminance0.3321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875E9 #86E975
analogous
#9E75E9 #D875E9 #E975C0
triadic
#D875E9 #E9D875 #75E9D8
tetradic
#D875E9 #E99E75 #86E975 #75C0E9
square
#D875E9 #E99E75 #86E975 #75C0E9
split-complementary
#D875E9 #C0E975 #75E99E
monochromatic
#AC1FC4 #C940E1 #D875E9 #E7AAF1 #F6DFFA

Accessibility & contrast

On white

2.75
#D875E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D875E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875E9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875E9#FFFFFF#000000##000000
##D875E91.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395ED
Deuteranopia (green-blind)
#81A0E6
Tritanopia (blue-blind)
#DA84A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d875e9;
/* rgb */ color: rgb(216, 117, 233);
/* oklch */ color: oklch(71.6% 0.190 321.6);
Tailwind
colors: {
  custom: {
    50: '#e6a0f0',
    500: '#d875e9',
    950: '#000000',
  },
}
SCSS
$custom: #d875e9;
$custom-light: #e6a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d875e9",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 233
  },
  "hsl": {
    "h": 291.207,
    "s": 72.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.18971,
    "h": 321.6
  },
  "luminance": 0.33205
}

Semantic roles & 50–950 ramp

primary
#D875E9
secondary
#D1EECC
accent
#D5112E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D875E9

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

Preview Lab → · Contrast checker → · Palette generator →

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