#D74EC3#D74EC3

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

Color values

HEX#D74EC3
RGBrgb(215, 78, 195)
HSLhsl(309, 63%, 57%)
HSVhsv(309, 64%, 84%)
CMYKcmyk(0%, 63.7%, 9.3%, 15.7%)
CIE-LABlab(55.93, 66.53, -34.38)
CIE-LCHlch(55.93, 74.89, 332.67°)
OKLaboklab(64.8% 0.1926 -0.0938)
OKLCHoklch(64.8% 0.214 334)
XYZxyz(40.5993, 23.8392, 54.0823)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74EC3 #4ED762
analogous
#A64ED7 #D74EC3 #D74E7F
triadic
#D74EC3 #C3D74E #4EC3D7
tetradic
#D74EC3 #D7A64E #4ED762 #4E7FD7
square
#D74EC3 #D7A64E #4ED762 #4E7FD7
split-complementary
#D74EC3 #7FD74E #4ED7A6
monochromatic
#8B1F7B #BD2BA8 #D74EC3 #E280D4 #EEB2E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D74EC3#FFFFFF#000000##000000
##D74EC31.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)
#4C79C6
Deuteranopia (green-blind)
#798DBF
Tritanopia (blue-blind)
#E15882
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d74ec3;
/* rgb */ color: rgb(215, 78, 195);
/* oklch */ color: oklch(64.8% 0.214 334.0);
Tailwind
colors: {
  custom: {
    50: '#e789d5',
    500: '#d74ec3',
    950: '#000000',
  },
}
SCSS
$custom: #d74ec3;
$custom-light: #e789d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ec3",
  "rgb": {
    "r": 215,
    "g": 78,
    "b": 195
  },
  "hsl": {
    "h": 308.759,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64803,
    "c": 0.21423,
    "h": 334
  },
  "luminance": 0.23836
}

Semantic roles & 50–950 ramp

primary
#D74EC3
secondary
#A5DCAD
accent
#E65A42
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D74EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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