#D94EC5#D94EC5

#D94EC5 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.2% C 0.217 H 333.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D94EC5
RGBrgb(217, 78, 197)
HSLhsl(309, 65%, 58%)
HSVhsv(309, 64%, 85%)
CMYKcmyk(0%, 64.1%, 9.2%, 14.9%)
CIE-LABlab(56.32, 67.34, -34.89)
CIE-LCHlch(56.32, 75.84, 332.61°)
OKLaboklab(65.18% 0.1949 -0.0953)
OKLCHoklch(65.18% 0.217 333.9)
XYZxyz(41.4179, 24.2350, 55.3089)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94EC5 #4ED962
analogous
#A74ED9 #D94EC5 #D94E7F
triadic
#D94EC5 #C5D94E #4EC5D9
tetradic
#D94EC5 #D9A74E #4ED962 #4E7FD9
square
#D94EC5 #D9A74E #4ED962 #4E7FD9
split-complementary
#D94EC5 #7FD94E #4ED9A7
monochromatic
#8E1F7E #C029AB #D94EC5 #E480D6 #EFB3E6

Accessibility & contrast

On white

3.59
#D94EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D94EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94EC5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94EC5#FFFFFF#000000##000000
##D94EC51.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7AC9
Deuteranopia (green-blind)
#7A8EC1
Tritanopia (blue-blind)
#E35983
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d94ec5;
/* rgb */ color: rgb(217, 78, 197);
/* oklch */ color: oklch(65.2% 0.217 333.9);
Tailwind
colors: {
  custom: {
    50: '#e889d7',
    500: '#d94ec5',
    950: '#000000',
  },
}
SCSS
$custom: #d94ec5;
$custom-light: #e889d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d94ec5",
  "rgb": {
    "r": 217,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 308.633,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6518,
    "c": 0.21691,
    "h": 333.9
  },
  "luminance": 0.24232
}

Semantic roles & 50–950 ramp

primary
#D94EC5
secondary
#A6DDAE
accent
#E85840
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D94EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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