#D875F8#D875F8

#D875F8 is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.3% C 0.204 H 317.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D875F8
RGBrgb(216, 117, 248)
HSLhsl(285, 90%, 72%)
HSVhsv(285, 53%, 97%)
CMYKcmyk(12.9%, 52.8%, 0%, 2.7%)
CIE-LABlab(65.04, 58.62, -49.79)
CIE-LCHlch(65.04, 76.92, 319.66°)
OKLaboklab(72.32% 0.1503 -0.1386)
OKLCHoklch(72.32% 0.204 317.3)
XYZxyz(51.6211, 34.1006, 92.6516)
Luminance0.3410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875F8 #95F875
analogous
#9775F8 #D875F8 #F875D6
triadic
#D875F8 #F8D875 #75F8D8
tetradic
#D875F8 #F89775 #95F875 #75D6F8
square
#D875F8 #F89775 #95F875 #75D6F8
split-complementary
#D875F8 #D6F875 #75F897
monochromatic
#B10CE7 #C83BF5 #D875F8 #E8AFFB #F7E2FE

Accessibility & contrast

On white

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

On black

7.82
#D875F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875F8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875F8#FFFFFF#000000##000000
##D875F81.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FC
Deuteranopia (green-blind)
#79A1F5
Tritanopia (blue-blind)
#D789AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d875f8;
/* rgb */ color: rgb(216, 117, 248);
/* oklch */ color: oklch(72.3% 0.204 317.3);
Tailwind
colors: {
  custom: {
    50: '#e7a0fb',
    500: '#d875f8',
    950: '#000000',
  },
}
SCSS
$custom: #d875f8;
$custom-light: #e7a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d875f8",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 248
  },
  "hsl": {
    "h": 285.344,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72324,
    "c": 0.20443,
    "h": 317.3
  },
  "luminance": 0.34099
}

Semantic roles & 50–950 ramp

primary
#D875F8
secondary
#DCF5D4
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D875F8

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

Preview Lab → · Contrast checker → · Palette generator →

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