#D874ED#D874ED

#D874ED is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.6% C 0.195 H 320.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D874ED
RGBrgb(216, 116, 237)
HSLhsl(290, 77%, 69%)
HSVhsv(290, 51%, 93%)
CMYKcmyk(8.9%, 51.1%, 0%, 7.1%)
CIE-LABlab(64.33, 56.98, -44.85)
CIE-LCHlch(64.33, 72.52, 321.79°)
OKLaboklab(71.63% 0.1505 -0.1243)
OKLCHoklch(71.63% 0.195 320.4)
XYZxyz(49.8485, 33.2062, 83.8880)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D874ED #89ED74
analogous
#9C74ED #D874ED #ED74C6
triadic
#D874ED #EDD874 #74EDD8
tetradic
#D874ED #ED9C74 #89ED74 #74C6ED
square
#D874ED #ED9C74 #89ED74 #74C6ED
split-complementary
#D874ED #C6ED74 #74ED9C
monochromatic
#AD1ACC #C93EE6 #D874ED #E7AAF4 #F6E0FB

Accessibility & contrast

On white

2.75
#D874ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D874ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D874ED
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D874ED#FFFFFF#000000##000000
##D874ED1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F1
Deuteranopia (green-blind)
#7EA0EA
Tritanopia (blue-blind)
#D985A6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d874ed;
/* rgb */ color: rgb(216, 116, 237);
/* oklch */ color: oklch(71.6% 0.195 320.4);
Tailwind
colors: {
  custom: {
    50: '#e6a0f3',
    500: '#d874ed',
    950: '#000000',
  },
}
SCSS
$custom: #d874ed;
$custom-light: #e6a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d874ed",
  "rgb": {
    "r": 216,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 289.587,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71625,
    "c": 0.19515,
    "h": 320.4
  },
  "luminance": 0.33204
}

Semantic roles & 50–950 ramp

primary
#D874ED
secondary
#D3F0CD
accent
#D90C30
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D874ED

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

Preview Lab → · Contrast checker → · Palette generator →

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