#D875EA#D875EA

#D875EA is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.6% C 0.191 H 321.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#D875EA
RGBrgb(216, 117, 234)
HSLhsl(291, 74%, 69%)
HSVhsv(291, 50%, 92%)
CMYKcmyk(7.7%, 50%, 0%, 8.2%)
CIE-LABlab(64.37, 55.92, -43.12)
CIE-LCHlch(64.37, 70.61, 322.36°)
OKLaboklab(71.61% 0.1488 -0.1193)
OKLCHoklch(71.61% 0.191 321.3)
XYZxyz(49.5298, 33.2641, 81.6376)
Luminance0.3326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875EA #87EA75
analogous
#9E75EA #D875EA #EA75C2
triadic
#D875EA #EAD875 #75EAD8
tetradic
#D875EA #EA9E75 #87EA75 #75C2EA
square
#D875EA #EA9E75 #87EA75 #75C2EA
split-complementary
#D875EA #C2EA75 #75EA9E
monochromatic
#AD1EC6 #C940E2 #D875EA #E7AAF2 #F6DFFA

Accessibility & contrast

On white

2.74
#D875EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#D875EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875EA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875EA#FFFFFF#000000##000000
##D875EA1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#81A0E7
Tritanopia (blue-blind)
#DA85A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d875ea;
/* rgb */ color: rgb(216, 117, 234);
/* oklch */ color: oklch(71.6% 0.191 321.3);
Tailwind
colors: {
  custom: {
    50: '#e6a0f1',
    500: '#d875ea',
    950: '#000000',
  },
}
SCSS
$custom: #d875ea;
$custom-light: #e6a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d875ea",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 290.769,
    "s": 73.585,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71614,
    "c": 0.19068,
    "h": 321.3
  },
  "luminance": 0.33262
}

Semantic roles & 50–950 ramp

primary
#D875EA
secondary
#D1EFCC
accent
#D6102E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D875EA

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

Preview Lab → · Contrast checker → · Palette generator →

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