#D875DC#D875DC

#D875DC is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.177 H 325.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#D875DC
RGBrgb(216, 117, 220)
HSLhsl(298, 60%, 66%)
HSVhsv(298, 47%, 86%)
CMYKcmyk(1.8%, 46.8%, 0%, 13.7%)
CIE-LABlab(63.75, 53.32, -36.31)
CIE-LCHlch(63.75, 64.51, 325.74°)
OKLaboklab(70.94% 0.1467 -0.0997)
OKLCHoklch(70.94% 0.177 325.8)
XYZxyz(47.5974, 32.4912, 71.4606)
Luminance0.3249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875DC #79DC75
analogous
#A475DC #D875DC #DC75AC
triadic
#D875DC #DCD875 #75DCD8
tetradic
#D875DC #DCA475 #79DC75 #75ACDC
square
#D875DC #DCA475 #79DC75 #75ACDC
split-complementary
#D875DC #ACDC75 #75DCA4
monochromatic
#A62BAB #CA44D0 #D875DC #E6A6E8 #F4D7F5

Accessibility & contrast

On white

2.80
#D875DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#D875DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875DC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875DC#FFFFFF#000000##000000
##D875DC1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92E0
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#DD809E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d875dc;
/* rgb */ color: rgb(216, 117, 220);
/* oklch */ color: oklch(70.9% 0.177 325.8);
Tailwind
colors: {
  custom: {
    50: '#e6a0e7',
    500: '#d875dc',
    950: '#000000',
  },
}
SCSS
$custom: #d875dc;
$custom-light: #e6a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d875dc",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 297.67,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70944,
    "c": 0.17739,
    "h": 325.8
  },
  "luminance": 0.32489
}

Semantic roles & 50–950 ramp

primary
#D875DC
secondary
#C7E7C5
accent
#C71E25
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D875DC

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

Preview Lab → · Contrast checker → · Palette generator →

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