#D875FE#D875FE

#D875FE is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.6% C 0.210 H 315.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D875FE
RGBrgb(216, 117, 254)
HSLhsl(283, 99%, 73%)
HSVhsv(283, 54%, 100%)
CMYKcmyk(15%, 53.9%, 0%, 0.4%)
CIE-LABlab(65.34, 59.81, -52.62)
CIE-LCHlch(65.34, 79.66, 318.66°)
OKLaboklab(72.64% 0.1507 -0.1468)
OKLCHoklch(72.64% 0.21 315.8)
XYZxyz(52.5668, 34.4789, 97.6328)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875FE #9BFE75
analogous
#9475FE #D875FE #FE75DF
triadic
#D875FE #FED875 #75FED8
tetradic
#D875FE #FE9475 #9BFE75 #75DFFE
square
#D875FE #FE9475 #9BFE75 #75DFFE
split-complementary
#D875FE #DFFE75 #75FE94
monochromatic
#B302F7 #C738FE #D875FE #E9B2FE #F6E1FF

Accessibility & contrast

On white

2.66
#D875FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D875FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875FE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875FE#FFFFFF#000000##000000
##D875FE1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#75A2FA
Tritanopia (blue-blind)
#D68BAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d875fe;
/* rgb */ color: rgb(216, 117, 254);
/* oklch */ color: oklch(72.6% 0.210 315.8);
Tailwind
colors: {
  custom: {
    50: '#e7a0ff',
    500: '#d875fe',
    950: '#000000',
  },
}
SCSS
$custom: #d875fe;
$custom-light: #e7a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d875fe",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 254
  },
  "hsl": {
    "h": 283.358,
    "s": 98.561,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72641,
    "c": 0.21042,
    "h": 315.8
  },
  "luminance": 0.34477
}

Semantic roles & 50–950 ramp

primary
#D875FE
secondary
#DEF7D4
accent
#E60040
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D875FE

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

Preview Lab → · Contrast checker → · Palette generator →

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