#D74EC4#D74EC4

#D74EC4 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.215 H 333.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#D74EC4
RGBrgb(215, 78, 196)
HSLhsl(308, 63%, 57%)
HSVhsv(308, 64%, 84%)
CMYKcmyk(0%, 63.7%, 8.8%, 15.7%)
CIE-LABlab(55.97, 66.68, -34.88)
CIE-LCHlch(55.97, 75.25, 332.39°)
OKLaboklab(64.85% 0.1927 -0.0953)
OKLCHoklch(64.85% 0.215 333.7)
XYZxyz(40.7127, 23.8846, 54.6798)
Luminance0.2388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74EC4 #4ED761
analogous
#A54ED7 #D74EC4 #D74E80
triadic
#D74EC4 #C4D74E #4EC4D7
tetradic
#D74EC4 #D7A54E #4ED761 #4E80D7
square
#D74EC4 #D7A54E #4ED761 #4E80D7
split-complementary
#D74EC4 #80D74E #4ED7A5
monochromatic
#8B1F7C #BD2BA9 #D74EC4 #E280D5 #EEB2E5

Accessibility & contrast

On white

3.64
#D74EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#D74EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74EC4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74EC4#FFFFFF#000000##000000
##D74EC41.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C8
Deuteranopia (green-blind)
#788DC0
Tritanopia (blue-blind)
#E05982
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d74ec4;
/* rgb */ color: rgb(215, 78, 196);
/* oklch */ color: oklch(64.9% 0.215 333.7);
Tailwind
colors: {
  custom: {
    50: '#e789d6',
    500: '#d74ec4',
    950: '#000000',
  },
}
SCSS
$custom: #d74ec4;
$custom-light: #e789d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ec4",
  "rgb": {
    "r": 215,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 308.321,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64851,
    "c": 0.21497,
    "h": 333.7
  },
  "luminance": 0.23881
}

Semantic roles & 50–950 ramp

primary
#D74EC4
secondary
#A5DCAC
accent
#E65842
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D74EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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