#D875F7#D875F7

#D875F7 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.3% C 0.203 H 317.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D875F7
RGBrgb(216, 117, 247)
HSLhsl(286, 89%, 71%)
HSVhsv(286, 53%, 97%)
CMYKcmyk(12.6%, 52.6%, 0%, 3.1%)
CIE-LABlab(64.99, 58.43, -49.32)
CIE-LCHlch(64.99, 76.46, 319.83°)
OKLaboklab(72.27% 0.1502 -0.1372)
OKLCHoklch(72.27% 0.203 317.6)
XYZxyz(51.4663, 34.0387, 91.8367)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875F7 #94F775
analogous
#9775F7 #D875F7 #F775D5
triadic
#D875F7 #F7D875 #75F7D8
tetradic
#D875F7 #F79775 #94F775 #75D5F7
square
#D875F7 #F79775 #94F775 #75D5F7
split-complementary
#D875F7 #D5F775 #75F797
monochromatic
#B10DE4 #C83BF4 #D875F7 #E8AFFA #F7E2FD

Accessibility & contrast

On white

2.69
#D875F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#D875F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875F7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875F7#FFFFFF#000000##000000
##D875F71.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#7AA1F4
Tritanopia (blue-blind)
#D789AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d875f7;
/* rgb */ color: rgb(216, 117, 247);
/* oklch */ color: oklch(72.3% 0.203 317.6);
Tailwind
colors: {
  custom: {
    50: '#e7a0fa',
    500: '#d875f7',
    950: '#000000',
  },
}
SCSS
$custom: #d875f7;
$custom-light: #e7a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d875f7",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 247
  },
  "hsl": {
    "h": 285.692,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72272,
    "c": 0.20344,
    "h": 317.6
  },
  "luminance": 0.34037
}

Semantic roles & 50–950 ramp

primary
#D875F7
secondary
#DBF5D3
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D875F7

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

Preview Lab → · Contrast checker → · Palette generator →

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