#D874EE#D874EE

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

Color values

HEX#D874EE
RGBrgb(216, 116, 238)
HSLhsl(289, 78%, 69%)
HSVhsv(289, 51%, 93%)
CMYKcmyk(9.2%, 51.3%, 0%, 6.7%)
CIE-LABlab(64.37, 57.17, -45.33)
CIE-LCHlch(64.37, 72.96, 321.59°)
OKLaboklab(71.68% 0.1506 -0.1257)
OKLCHoklch(71.68% 0.196 320.2)
XYZxyz(49.9950, 33.2648, 84.6596)
Luminance0.3326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D874EE #8AEE74
analogous
#9B74EE #D874EE #EE74C7
triadic
#D874EE #EED874 #74EED8
tetradic
#D874EE #EE9B74 #8AEE74 #74C7EE
square
#D874EE #EE9B74 #8AEE74 #74C7EE
split-complementary
#D874EE #C7EE74 #74EE9B
monochromatic
#AE19CE #C93DE7 #D874EE #E7ABF5 #F7E1FB

Accessibility & contrast

On white

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

On black

7.65
#D874EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D874EE
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D874EE#FFFFFF#000000##000000
##D874EE1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d874ee;
/* rgb */ color: rgb(216, 116, 238);
/* oklch */ color: oklch(71.7% 0.196 320.2);
Tailwind
colors: {
  custom: {
    50: '#e6a0f4',
    500: '#d874ee',
    950: '#000000',
  },
}
SCSS
$custom: #d874ee;
$custom-light: #e6a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d874ee",
  "rgb": {
    "r": 216,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 289.18,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71675,
    "c": 0.19612,
    "h": 320.2
  },
  "luminance": 0.33263
}

Semantic roles & 50–950 ramp

primary
#D874EE
secondary
#D4F0CD
accent
#DA0B30
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D874EE

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

Preview Lab → · Contrast checker → · Palette generator →

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