#D875FA#D875FA

#D875FA is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.4% C 0.206 H 316.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D875FA
RGBrgb(216, 117, 250)
HSLhsl(285, 93%, 72%)
HSVhsv(285, 53%, 98%)
CMYKcmyk(13.6%, 53.2%, 0%, 2%)
CIE-LABlab(65.14, 59.02, -50.74)
CIE-LCHlch(65.14, 77.83, 319.31°)
OKLaboklab(72.43% 0.1504 -0.1413)
OKLCHoklch(72.43% 0.206 316.8)
XYZxyz(51.9330, 34.2254, 94.2945)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875FA #97FA75
analogous
#9675FA #D875FA #FA75D9
triadic
#D875FA #FAD875 #75FAD8
tetradic
#D875FA #FA9675 #97FA75 #75D9FA
square
#D875FA #FA9675 #97FA75 #75D9FA
split-complementary
#D875FA #D9FA75 #75FA96
monochromatic
#B209EC #C73AF8 #D875FA #E9B0FC #F7E1FE

Accessibility & contrast

On white

2.68
#D875FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D875FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875FA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875FA#FFFFFF#000000##000000
##D875FA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#D78AAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d875fa;
/* rgb */ color: rgb(216, 117, 250);
/* oklch */ color: oklch(72.4% 0.206 316.8);
Tailwind
colors: {
  custom: {
    50: '#e7a0fc',
    500: '#d875fa',
    950: '#000000',
  },
}
SCSS
$custom: #d875fa;
$custom-light: #e7a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d875fa",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 250
  },
  "hsl": {
    "h": 284.662,
    "s": 93.007,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72429,
    "c": 0.20642,
    "h": 316.8
  },
  "luminance": 0.34224
}

Semantic roles & 50–950 ramp

primary
#D875FA
secondary
#DDF6D5
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D875FA

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

Preview Lab → · Contrast checker → · Palette generator →

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