#D874EA#D874EA

#D874EA is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.5% C 0.192 H 321.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D874EA
RGBrgb(216, 116, 234)
HSLhsl(291, 74%, 69%)
HSVhsv(291, 50%, 92%)
CMYKcmyk(7.7%, 50.4%, 0%, 8.2%)
CIE-LABlab(64.19, 56.41, -43.41)
CIE-LCHlch(64.19, 71.18, 322.42°)
OKLaboklab(71.47% 0.1501 -0.1201)
OKLCHoklch(71.47% 0.192 321.3)
XYZxyz(49.4139, 33.0323, 81.5990)
Luminance0.3303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D874EA #86EA74
analogous
#9D74EA #D874EA #EA74C1
triadic
#D874EA #EAD874 #74EAD8
tetradic
#D874EA #EA9D74 #86EA74 #74C1EA
square
#D874EA #EA9D74 #86EA74 #74C1EA
split-complementary
#D874EA #C1EA74 #74EA9D
monochromatic
#AC1EC6 #C93FE2 #D874EA #E7A9F2 #F6DEFA

Accessibility & contrast

On white

2.76
#D874EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D874EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D874EA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D874EA#FFFFFF#000000##000000
##D874EA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#809FE7
Tritanopia (blue-blind)
#DA84A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d874ea;
/* rgb */ color: rgb(216, 116, 234);
/* oklch */ color: oklch(71.5% 0.192 321.3);
Tailwind
colors: {
  custom: {
    50: '#e69ff1',
    500: '#d874ea',
    950: '#000000',
  },
}
SCSS
$custom: #d874ea;
$custom-light: #e69ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#d874ea",
  "rgb": {
    "r": 216,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 290.847,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71475,
    "c": 0.19225,
    "h": 321.3
  },
  "luminance": 0.3303
}

Semantic roles & 50–950 ramp

primary
#D874EA
secondary
#D1EFCB
accent
#D6102E
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D874EA

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

Preview Lab → · Contrast checker → · Palette generator →

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