#D74DD2#D74DD2

#D74DD2 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.4% C 0.227 H 329.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#D74DD2
RGBrgb(215, 77, 210)
HSLhsl(302, 63%, 57%)
HSVhsv(302, 64%, 84%)
CMYKcmyk(0%, 64.2%, 2.3%, 15.7%)
CIE-LABlab(56.50, 69.29, -42.05)
CIE-LCHlch(56.50, 81.05, 328.75°)
OKLaboklab(65.45% 0.1951 -0.1159)
OKLCHoklch(65.45% 0.227 329.3)
XYZxyz(42.3107, 24.4110, 63.4436)
Luminance0.2441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DD2 #4DD752
analogous
#974DD7 #D74DD2 #D74D8D
triadic
#D74DD2 #D2D74D #4DD2D7
tetradic
#D74DD2 #D7974D #4DD752 #4D8DD7
square
#D74DD2 #D7974D #4DD752 #4D8DD7
split-complementary
#D74DD2 #8DD74D #4DD797
monochromatic
#8A1F87 #BC2AB7 #D74DD2 #E27FDF #EDB1EB

Accessibility & contrast

On white

3.57
#D74DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#D74DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DD2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DD2#FFFFFF#000000##000000
##D74DD21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD6
Deuteranopia (green-blind)
#718ECE
Tritanopia (blue-blind)
#DE5E89
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d74dd2;
/* rgb */ color: rgb(215, 77, 210);
/* oklch */ color: oklch(65.4% 0.227 329.3);
Tailwind
colors: {
  custom: {
    50: '#e789e0',
    500: '#d74dd2',
    950: '#000000',
  },
}
SCSS
$custom: #d74dd2;
$custom-light: #e789e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dd2",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 302.174,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.65448,
    "c": 0.22693,
    "h": 329.3
  },
  "luminance": 0.24408
}

Semantic roles & 50–950 ramp

primary
#D74DD2
secondary
#A4DCA6
accent
#E64741
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D74DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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