#D74DD4#D74DD4

#D74DD4 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.6% C 0.229 H 328.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#D74DD4
RGBrgb(215, 77, 212)
HSLhsl(301, 63%, 57%)
HSVhsv(301, 64%, 84%)
CMYKcmyk(0%, 64.2%, 1.4%, 15.7%)
CIE-LABlab(56.60, 69.61, -43.03)
CIE-LCHlch(56.60, 81.84, 328.28°)
OKLaboklab(65.55% 0.1952 -0.1187)
OKLCHoklch(65.55% 0.229 328.7)
XYZxyz(42.5614, 24.5112, 64.7640)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DD4 #4DD750
analogous
#954DD7 #D74DD4 #D74D8F
triadic
#D74DD4 #D4D74D #4DD4D7
tetradic
#D74DD4 #D7954D #4DD750 #4D8FD7
square
#D74DD4 #D7954D #4DD750 #4D8FD7
split-complementary
#D74DD4 #8FD74D #4DD795
monochromatic
#8A1F88 #BC2AB9 #D74DD4 #E27FE0 #EDB1EC

Accessibility & contrast

On white

3.56
#D74DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#D74DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DD4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DD4#FFFFFF#000000##000000
##D74DD41.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD8
Deuteranopia (green-blind)
#708ED0
Tritanopia (blue-blind)
#DE5E8A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d74dd4;
/* rgb */ color: rgb(215, 77, 212);
/* oklch */ color: oklch(65.6% 0.229 328.7);
Tailwind
colors: {
  custom: {
    50: '#e789e2',
    500: '#d74dd4',
    950: '#000000',
  },
}
SCSS
$custom: #d74dd4;
$custom-light: #e789e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dd4",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 301.304,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65552,
    "c": 0.2285,
    "h": 328.7
  },
  "luminance": 0.24508
}

Semantic roles & 50–950 ramp

primary
#D74DD4
secondary
#A4DCA5
accent
#E64541
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D74DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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