#D875F2#D875F2

#D875F2 is a light, vivid purple. Relative luminance 0.337; OKLCH L 72.0% C 0.198 H 319.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D875F2
RGBrgb(216, 117, 242)
HSLhsl(288, 83%, 70%)
HSVhsv(288, 52%, 95%)
CMYKcmyk(10.7%, 51.7%, 0%, 5.1%)
CIE-LABlab(64.75, 57.45, -46.95)
CIE-LCHlch(64.75, 74.19, 320.74°)
OKLaboklab(72.02% 0.1497 -0.1303)
OKLCHoklch(72.02% 0.198 319)
XYZxyz(50.7051, 33.7342, 87.8276)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875F2 #8FF275
analogous
#9975F2 #D875F2 #F275CD
triadic
#D875F2 #F2D875 #75F2D8
tetradic
#D875F2 #F29975 #8FF275 #75CDF2
square
#D875F2 #F29975 #8FF275 #75CDF2
split-complementary
#D875F2 #CDF275 #75F299
monochromatic
#AF14D8 #C83DED #D875F2 #E8ADF7 #F7E3FC

Accessibility & contrast

On white

2.71
#D875F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#D875F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875F2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875F2#FFFFFF#000000##000000
##D875F21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#7CA1EF
Tritanopia (blue-blind)
#D887A9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d875f2;
/* rgb */ color: rgb(216, 117, 242);
/* oklch */ color: oklch(72.0% 0.198 319.0);
Tailwind
colors: {
  custom: {
    50: '#e6a0f7',
    500: '#d875f2',
    950: '#000000',
  },
}
SCSS
$custom: #d875f2;
$custom-light: #e6a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d875f2",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 287.52,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72015,
    "c": 0.19849,
    "h": 319
  },
  "luminance": 0.33732
}

Semantic roles & 50–950 ramp

primary
#D875F2
secondary
#D7F3D0
accent
#DF0633
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D875F2

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

Preview Lab → · Contrast checker → · Palette generator →

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