#D875EE#D875EE

#D875EE is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.8% C 0.195 H 320.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D875EE
RGBrgb(216, 117, 238)
HSLhsl(289, 78%, 70%)
HSVhsv(289, 51%, 93%)
CMYKcmyk(9.2%, 50.8%, 0%, 6.7%)
CIE-LABlab(64.56, 56.68, -45.04)
CIE-LCHlch(64.56, 72.40, 321.53°)
OKLaboklab(71.81% 0.1493 -0.1248)
OKLCHoklch(71.81% 0.195 320.1)
XYZxyz(50.1109, 33.4966, 84.6982)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875EE #8BEE75
analogous
#9C75EE #D875EE #EE75C8
triadic
#D875EE #EED875 #75EED8
tetradic
#D875EE #EE9C75 #8BEE75 #75C8EE
square
#D875EE #EE9C75 #8BEE75 #75C8EE
split-complementary
#D875EE #C8EE75 #75EE9C
monochromatic
#AE1ACF #C93FE7 #D875EE #E7ABF5 #F7E2FB

Accessibility & contrast

On white

2.73
#D875EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D875EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875EE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875EE#FFFFFF#000000##000000
##D875EE1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#D986A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d875ee;
/* rgb */ color: rgb(216, 117, 238);
/* oklch */ color: oklch(71.8% 0.195 320.1);
Tailwind
colors: {
  custom: {
    50: '#e6a0f4',
    500: '#d875ee',
    950: '#000000',
  },
}
SCSS
$custom: #d875ee;
$custom-light: #e6a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d875ee",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 238
  },
  "hsl": {
    "h": 289.091,
    "s": 78.065,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71812,
    "c": 0.19457,
    "h": 320.1
  },
  "luminance": 0.33495
}

Semantic roles & 50–950 ramp

primary
#D875EE
secondary
#D4F1CE
accent
#DA0B31
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D875EE

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

Preview Lab → · Contrast checker → · Palette generator →

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