#D875EF#D875EF

#D875EF is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.9% C 0.196 H 319.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D875EF
RGBrgb(216, 117, 239)
HSLhsl(289, 79%, 70%)
HSVhsv(289, 51%, 94%)
CMYKcmyk(9.6%, 51%, 0%, 6.3%)
CIE-LABlab(64.61, 56.87, -45.52)
CIE-LCHlch(64.61, 72.84, 321.33°)
OKLaboklab(71.86% 0.1494 -0.1262)
OKLCHoklch(71.86% 0.196 319.8)
XYZxyz(50.2582, 33.5555, 85.4741)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875EF #8CEF75
analogous
#9B75EF #D875EF #EF75C9
triadic
#D875EF #EFD875 #75EFD8
tetradic
#D875EF #EF9B75 #8CEF75 #75C9EF
square
#D875EF #EF9B75 #8CEF75 #75C9EF
split-complementary
#D875EF #C9EF75 #75EF9B
monochromatic
#AE18D1 #C93EE9 #D875EF #E7ACF5 #F7E3FC

Accessibility & contrast

On white

2.72
#D875EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D875EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875EF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875EF#FFFFFF#000000##000000
##D875EF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#D986A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d875ef;
/* rgb */ color: rgb(216, 117, 239);
/* oklch */ color: oklch(71.9% 0.196 319.8);
Tailwind
colors: {
  custom: {
    50: '#e6a0f4',
    500: '#d875ef',
    950: '#000000',
  },
}
SCSS
$custom: #d875ef;
$custom-light: #e6a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d875ef",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 288.689,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71863,
    "c": 0.19554,
    "h": 319.8
  },
  "luminance": 0.33554
}

Semantic roles & 50–950 ramp

primary
#D875EF
secondary
#D5F1CF
accent
#DC0A31
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D875EF

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

Preview Lab → · Contrast checker → · Palette generator →

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