#D74ED8#D74ED8

#D74ED8 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.230 H 327.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D74ED8
RGBrgb(215, 78, 216)
HSLhsl(300, 64%, 58%)
HSVhsv(300, 64%, 85%)
CMYKcmyk(0.5%, 63.9%, 0%, 15.3%)
CIE-LABlab(56.94, 69.88, -44.76)
CIE-LCHlch(56.94, 82.99, 327.36°)
OKLaboklab(65.86% 0.1943 -0.1238)
OKLCHoklch(65.86% 0.23 327.5)
XYZxyz(43.1427, 24.8566, 67.4779)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74ED8 #4FD84E
analogous
#924ED8 #D74ED8 #D84E94
triadic
#D74ED8 #D8D74E #4ED8D7
tetradic
#D74ED8 #D8924E #4FD84E #4E94D8
square
#D74ED8 #D8924E #4FD84E #4E94D8
split-complementary
#D74ED8 #94D84E #4ED892
monochromatic
#8C1F8D #BE2ABF #D74ED8 #E280E3 #EEB2EE

Accessibility & contrast

On white

3.52
#D74ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D74ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74ED8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74ED8#FFFFFF#000000##000000
##D74ED81.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7DDC
Deuteranopia (green-blind)
#6F8FD4
Tritanopia (blue-blind)
#DD618D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d74ed8;
/* rgb */ color: rgb(215, 78, 216);
/* oklch */ color: oklch(65.9% 0.230 327.5);
Tailwind
colors: {
  custom: {
    50: '#e789e4',
    500: '#d74ed8',
    950: '#000000',
  },
}
SCSS
$custom: #d74ed8;
$custom-light: #e789e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ed8",
  "rgb": {
    "r": 215,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 299.565,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65863,
    "c": 0.23039,
    "h": 327.5
  },
  "luminance": 0.24854
}

Semantic roles & 50–950 ramp

primary
#D74ED8
secondary
#A6DDA5
accent
#E74142
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D74ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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