#D875FB#D875FB

#D875FB is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.5% C 0.207 H 316.5°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#D875FB
RGBrgb(216, 117, 251)
HSLhsl(284, 94%, 72%)
HSVhsv(284, 53%, 98%)
CMYKcmyk(13.9%, 53.4%, 0%, 1.6%)
CIE-LABlab(65.19, 59.21, -51.21)
CIE-LCHlch(65.19, 78.29, 319.15°)
OKLaboklab(72.48% 0.1505 -0.1427)
OKLCHoklch(72.48% 0.207 316.5)
XYZxyz(52.0902, 34.2883, 95.1224)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875FB #98FB75
analogous
#9575FB #D875FB #FB75DB
triadic
#D875FB #FBD875 #75FBD8
tetradic
#D875FB #FB9575 #98FB75 #75DBFB
square
#D875FB #FB9575 #98FB75 #75DBFB
split-complementary
#D875FB #DBFB75 #75FB95
monochromatic
#B207EF #C73AF9 #D875FB #E9B0FD #F7E1FE

Accessibility & contrast

On white

2.67
#D875FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#D875FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875FB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875FB#FFFFFF#000000##000000
##D875FB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#D78AAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d875fb;
/* rgb */ color: rgb(216, 117, 251);
/* oklch */ color: oklch(72.5% 0.207 316.5);
Tailwind
colors: {
  custom: {
    50: '#e7a0fd',
    500: '#d875fb',
    950: '#000000',
  },
}
SCSS
$custom: #d875fb;
$custom-light: #e7a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d875fb",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 251
  },
  "hsl": {
    "h": 284.328,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72481,
    "c": 0.20742,
    "h": 316.5
  },
  "luminance": 0.34287
}

Semantic roles & 50–950 ramp

primary
#D875FB
secondary
#DDF6D5
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D875FB

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

Preview Lab → · Contrast checker → · Palette generator →

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