#D74ED4#D74ED4

#D74ED4 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.7% C 0.227 H 328.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#D74ED4
RGBrgb(215, 78, 212)
HSLhsl(301, 63%, 57%)
HSVhsv(301, 64%, 84%)
CMYKcmyk(0%, 63.7%, 1.4%, 15.7%)
CIE-LABlab(56.74, 69.23, -42.81)
CIE-LCHlch(56.74, 81.39, 328.26°)
OKLaboklab(65.65% 0.1941 -0.1181)
OKLCHoklch(65.65% 0.227 328.7)
XYZxyz(42.6319, 24.6523, 64.7875)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74ED4 #4ED751
analogous
#964ED7 #D74ED4 #D74E8F
triadic
#D74ED4 #D4D74E #4ED4D7
tetradic
#D74ED4 #D7964E #4ED751 #4E8FD7
square
#D74ED4 #D7964E #4ED751 #4E8FD7
split-complementary
#D74ED4 #8FD74E #4ED796
monochromatic
#8B1F89 #BD2BBA #D74ED4 #E280E0 #EEB2EC

Accessibility & contrast

On white

3.54
#D74ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#D74ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74ED4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74ED4#FFFFFF#000000##000000
##D74ED41.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD8
Deuteranopia (green-blind)
#718FD0
Tritanopia (blue-blind)
#DE5F8A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d74ed4;
/* rgb */ color: rgb(215, 78, 212);
/* oklch */ color: oklch(65.7% 0.227 328.7);
Tailwind
colors: {
  custom: {
    50: '#e789e1',
    500: '#d74ed4',
    950: '#000000',
  },
}
SCSS
$custom: #d74ed4;
$custom-light: #e789e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ed4",
  "rgb": {
    "r": 215,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 301.314,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.65653,
    "c": 0.22723,
    "h": 328.7
  },
  "luminance": 0.24649
}

Semantic roles & 50–950 ramp

primary
#D74ED4
secondary
#A5DCA6
accent
#E64542
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D74ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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