#D875E7#D875E7

#D875E7 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.5% C 0.188 H 322.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D875E7
RGBrgb(216, 117, 231)
HSLhsl(292, 70%, 68%)
HSVhsv(292, 49%, 91%)
CMYKcmyk(6.5%, 49.4%, 0%, 9.4%)
CIE-LABlab(64.24, 55.35, -41.67)
CIE-LCHlch(64.24, 69.28, 323.03°)
OKLaboklab(71.47% 0.1484 -0.1151)
OKLCHoklch(71.47% 0.188 322.2)
XYZxyz(49.1024, 33.0932, 79.3870)
Luminance0.3309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875E7 #84E775
analogous
#9F75E7 #D875E7 #E775BD
triadic
#D875E7 #E7D875 #75E7D8
tetradic
#D875E7 #E79F75 #84E775 #75BDE7
square
#D875E7 #E79F75 #84E775 #75BDE7
split-complementary
#D875E7 #BDE775 #75E79F
monochromatic
#AB21C0 #C941DE #D875E7 #E7A9F0 #F5DDF9

Accessibility & contrast

On white

2.76
#D875E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D875E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875E7
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875E7#FFFFFF#000000##000000
##D875E71.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EB
Deuteranopia (green-blind)
#82A0E4
Tritanopia (blue-blind)
#DB84A4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d875e7;
/* rgb */ color: rgb(216, 117, 231);
/* oklch */ color: oklch(71.5% 0.188 322.2);
Tailwind
colors: {
  custom: {
    50: '#e6a0ef',
    500: '#d875e7',
    950: '#000000',
  },
}
SCSS
$custom: #d875e7;
$custom-light: #e6a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d875e7",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 231
  },
  "hsl": {
    "h": 292.105,
    "s": 70.37,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71467,
    "c": 0.18778,
    "h": 322.2
  },
  "luminance": 0.33091
}

Semantic roles & 50–950 ramp

primary
#D875E7
secondary
#CFEDCB
accent
#D2132C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D875E7

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

Preview Lab → · Contrast checker → · Palette generator →

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