#D74DC6#D74DC6

#D74DC6 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.218 H 333.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D74DC6
RGBrgb(215, 77, 198)
HSLhsl(307, 63%, 57%)
HSVhsv(307, 64%, 84%)
CMYKcmyk(0%, 64.2%, 7.9%, 15.7%)
CIE-LABlab(55.92, 67.39, -36.11)
CIE-LCHlch(55.92, 76.45, 331.82°)
OKLaboklab(64.85% 0.1941 -0.0988)
OKLCHoklch(64.85% 0.218 333)
XYZxyz(40.8714, 23.8352, 55.8632)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DC6 #4DD75E
analogous
#A34DD7 #D74DC6 #D74D81
triadic
#D74DC6 #C6D74D #4DC6D7
tetradic
#D74DC6 #D7A34D #4DD75E #4D81D7
square
#D74DC6 #D7A34D #4DD75E #4D81D7
split-complementary
#D74DC6 #81D74D #4DD7A3
monochromatic
#8A1F7D #BC2AAA #D74DC6 #E27FD6 #EDB1E6

Accessibility & contrast

On white

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

On black

5.77
#D74DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DC6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DC6#FFFFFF#000000##000000
##D74DC61.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4979CA
Deuteranopia (green-blind)
#778DC2
Tritanopia (blue-blind)
#E05983
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d74dc6;
/* rgb */ color: rgb(215, 77, 198);
/* oklch */ color: oklch(64.8% 0.218 333.0);
Tailwind
colors: {
  custom: {
    50: '#e788d7',
    500: '#d74dc6',
    950: '#000000',
  },
}
SCSS
$custom: #d74dc6;
$custom-light: #e788d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dc6",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 307.391,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64845,
    "c": 0.21777,
    "h": 333
  },
  "luminance": 0.23832
}

Semantic roles & 50–950 ramp

primary
#D74DC6
secondary
#A4DCAB
accent
#E65641
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D74DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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