#D74EC2#D74EC2

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

Color values

HEX#D74EC2
RGBrgb(215, 78, 194)
HSLhsl(309, 63%, 57%)
HSVhsv(309, 64%, 84%)
CMYKcmyk(0%, 63.7%, 9.8%, 15.7%)
CIE-LABlab(55.88, 66.38, -33.88)
CIE-LCHlch(55.88, 74.52, 332.96°)
OKLaboklab(64.76% 0.1925 -0.0924)
OKLCHoklch(64.76% 0.213 334.4)
XYZxyz(40.4866, 23.7941, 53.4888)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74EC2 #4ED763
analogous
#A74ED7 #D74EC2 #D74E7E
triadic
#D74EC2 #C2D74E #4EC2D7
tetradic
#D74EC2 #D7A74E #4ED763 #4E7ED7
square
#D74EC2 #D7A74E #4ED763 #4E7ED7
split-complementary
#D74EC2 #7ED74E #4ED7A7
monochromatic
#8B1F7B #BD2BA7 #D74EC2 #E280D3 #EEB2E4

Accessibility & contrast

On white

3.65
#D74EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#D74EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74EC2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74EC2#FFFFFF#000000##000000
##D74EC21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#798DBE
Tritanopia (blue-blind)
#E15881
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d74ec2;
/* rgb */ color: rgb(215, 78, 194);
/* oklch */ color: oklch(64.8% 0.213 334.4);
Tailwind
colors: {
  custom: {
    50: '#e789d5',
    500: '#d74ec2',
    950: '#000000',
  },
}
SCSS
$custom: #d74ec2;
$custom-light: #e789d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ec2",
  "rgb": {
    "r": 215,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 309.197,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.21349,
    "h": 334.4
  },
  "luminance": 0.23791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D74EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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