#D875ED#D875ED

#D875ED is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.8% C 0.194 H 320.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#D875ED
RGBrgb(216, 117, 237)
HSLhsl(290, 77%, 69%)
HSVhsv(290, 51%, 93%)
CMYKcmyk(8.9%, 50.6%, 0%, 7.1%)
CIE-LABlab(64.51, 56.49, -44.56)
CIE-LCHlch(64.51, 71.95, 321.73°)
OKLaboklab(71.76% 0.1491 -0.1234)
OKLCHoklch(71.76% 0.194 320.4)
XYZxyz(49.9644, 33.4380, 83.9266)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875ED #8AED75
analogous
#9C75ED #D875ED #ED75C6
triadic
#D875ED #EDD875 #75EDD8
tetradic
#D875ED #ED9C75 #8AED75 #75C6ED
square
#D875ED #ED9C75 #8AED75 #75C6ED
split-complementary
#D875ED #C6ED75 #75ED9C
monochromatic
#AE1BCD #C93FE6 #D875ED #E7ABF4 #F7E1FB

Accessibility & contrast

On white

2.73
#D875ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D875ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875ED
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875ED#FFFFFF#000000##000000
##D875ED1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F1
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#D986A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d875ed;
/* rgb */ color: rgb(216, 117, 237);
/* oklch */ color: oklch(71.8% 0.194 320.4);
Tailwind
colors: {
  custom: {
    50: '#e6a0f3',
    500: '#d875ed',
    950: '#000000',
  },
}
SCSS
$custom: #d875ed;
$custom-light: #e6a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d875ed",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 237
  },
  "hsl": {
    "h": 289.5,
    "s": 76.923,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71762,
    "c": 0.19359,
    "h": 320.4
  },
  "luminance": 0.33436
}

Semantic roles & 50–950 ramp

primary
#D875ED
secondary
#D4F0CE
accent
#D90C30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D875ED

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

Preview Lab → · Contrast checker → · Palette generator →

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