#D74DC3#D74DC3

#D74DC3 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.216 H 334.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#D74DC3
RGBrgb(215, 77, 195)
HSLhsl(309, 63%, 57%)
HSVhsv(309, 64%, 84%)
CMYKcmyk(0%, 64.2%, 9.3%, 15.7%)
CIE-LABlab(55.78, 66.92, -34.60)
CIE-LCHlch(55.78, 75.34, 332.66°)
OKLaboklab(64.7% 0.1937 -0.0945)
OKLCHoklch(64.7% 0.216 334)
XYZxyz(40.5288, 23.6982, 54.0588)
Luminance0.2369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74DC3 #4DD761
analogous
#A64DD7 #D74DC3 #D74D7E
triadic
#D74DC3 #C3D74D #4DC3D7
tetradic
#D74DC3 #D7A64D #4DD761 #4D7ED7
square
#D74DC3 #D7A64D #4DD761 #4D7ED7
split-complementary
#D74DC3 #7ED74D #4DD7A6
monochromatic
#8A1F7B #BC2AA7 #D74DC3 #E27FD4 #EDB1E5

Accessibility & contrast

On white

3.66
#D74DC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#D74DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74DC3
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74DC3#FFFFFF#000000##000000
##D74DC31.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B79C6
Deuteranopia (green-blind)
#788DBF
Tritanopia (blue-blind)
#E15781
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d74dc3;
/* rgb */ color: rgb(215, 77, 195);
/* oklch */ color: oklch(64.7% 0.216 334.0);
Tailwind
colors: {
  custom: {
    50: '#e788d5',
    500: '#d74dc3',
    950: '#000000',
  },
}
SCSS
$custom: #d74dc3;
$custom-light: #e788d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d74dc3",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 195
  },
  "hsl": {
    "h": 308.696,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64699,
    "c": 0.21554,
    "h": 334
  },
  "luminance": 0.23695
}

Semantic roles & 50–950 ramp

primary
#D74DC3
secondary
#A4DCAC
accent
#E65941
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D74DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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