#D875EB#D875EB

#D875EB is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.7% C 0.192 H 321.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D875EB
RGBrgb(216, 117, 235)
HSLhsl(290, 75%, 69%)
HSVhsv(290, 50%, 92%)
CMYKcmyk(8.1%, 50.2%, 0%, 7.8%)
CIE-LABlab(64.42, 56.11, -43.60)
CIE-LCHlch(64.42, 71.06, 322.15°)
OKLaboklab(71.66% 0.1489 -0.1206)
OKLCHoklch(71.66% 0.192 321)
XYZxyz(49.6738, 33.3217, 82.3963)
Luminance0.3332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875EB #88EB75
analogous
#9D75EB #D875EB #EB75C3
triadic
#D875EB #EBD875 #75EBD8
tetradic
#D875EB #EB9D75 #88EB75 #75C3EB
square
#D875EB #EB9D75 #88EB75 #75C3EB
split-complementary
#D875EB #C3EB75 #75EB9D
monochromatic
#AD1DC9 #C940E3 #D875EB #E7AAF3 #F6E0FA

Accessibility & contrast

On white

2.74
#D875EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D875EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875EB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875EB#FFFFFF#000000##000000
##D875EB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#DA85A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d875eb;
/* rgb */ color: rgb(216, 117, 235);
/* oklch */ color: oklch(71.7% 0.192 321.0);
Tailwind
colors: {
  custom: {
    50: '#e6a0f2',
    500: '#d875eb',
    950: '#000000',
  },
}
SCSS
$custom: #d875eb;
$custom-light: #e6a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d875eb",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 290.339,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71663,
    "c": 0.19164,
    "h": 321
  },
  "luminance": 0.3332
}

Semantic roles & 50–950 ramp

primary
#D875EB
secondary
#D2EFCD
accent
#D70F2F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D875EB

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

Preview Lab → · Contrast checker → · Palette generator →

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