#D875EC#D875EC

#D875EC is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.7% C 0.193 H 320.7°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D875EC
RGBrgb(216, 117, 236)
HSLhsl(290, 76%, 69%)
HSVhsv(290, 50%, 93%)
CMYKcmyk(8.5%, 50.4%, 0%, 7.5%)
CIE-LABlab(64.47, 56.30, -44.08)
CIE-LCHlch(64.47, 71.50, 321.94°)
OKLaboklab(71.71% 0.149 -0.122)
OKLCHoklch(71.71% 0.193 320.7)
XYZxyz(49.8187, 33.3797, 83.1593)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D875EC #89EC75
analogous
#9D75EC #D875EC #EC75C5
triadic
#D875EC #ECD875 #75ECD8
tetradic
#D875EC #EC9D75 #89EC75 #75C5EC
square
#D875EC #EC9D75 #89EC75 #75C5EC
split-complementary
#D875EC #C5EC75 #75EC9D
monochromatic
#AD1CCB #C93FE5 #D875EC #E7ABF3 #F6E1FB

Accessibility & contrast

On white

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

On black

7.68
#D875EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D875EC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D875EC#FFFFFF#000000##000000
##D875EC1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#DA85A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d875ec;
/* rgb */ color: rgb(216, 117, 236);
/* oklch */ color: oklch(71.7% 0.193 320.7);
Tailwind
colors: {
  custom: {
    50: '#e6a0f2',
    500: '#d875ec',
    950: '#000000',
  },
}
SCSS
$custom: #d875ec;
$custom-light: #e6a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d875ec",
  "rgb": {
    "r": 216,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 289.916,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71713,
    "c": 0.19262,
    "h": 320.7
  },
  "luminance": 0.33378
}

Semantic roles & 50–950 ramp

primary
#D875EC
secondary
#D3F0CD
accent
#D80E30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D875EC

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

Preview Lab → · Contrast checker → · Palette generator →

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