#D94DD5#D94DD5

#D94DD5 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.230 H 329.0°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D94DD5
RGBrgb(217, 77, 213)
HSLhsl(302, 65%, 58%)
HSVhsv(302, 65%, 85%)
CMYKcmyk(0%, 64.5%, 1.8%, 14.9%)
CIE-LABlab(56.95, 70.25, -43.03)
CIE-LCHlch(56.95, 82.38, 328.51°)
OKLaboklab(65.88% 0.1974 -0.1187)
OKLCHoklch(65.88% 0.23 329)
XYZxyz(43.2790, 24.8666, 65.4581)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94DD5 #4DD951
analogous
#974DD9 #D94DD5 #D94D8F
triadic
#D94DD5 #D5D94D #4DD5D9
tetradic
#D94DD5 #D9974D #4DD951 #4D8FD9
square
#D94DD5 #D9974D #4DD951 #4D8FD9
split-complementary
#D94DD5 #8FD94D #4DD997
monochromatic
#8D1E8A #C029BC #D94DD5 #E47FE1 #EFB2ED

Accessibility & contrast

On white

3.52
#D94DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D94DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94DD5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94DD5#FFFFFF#000000##000000
##D94DD51.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DD9
Deuteranopia (green-blind)
#728FD1
Tritanopia (blue-blind)
#E05E8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d94dd5;
/* rgb */ color: rgb(217, 77, 213);
/* oklch */ color: oklch(65.9% 0.230 329.0);
Tailwind
colors: {
  custom: {
    50: '#e889e2',
    500: '#d94dd5',
    950: '#000000',
  },
}
SCSS
$custom: #d94dd5;
$custom-light: #e889e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d94dd5",
  "rgb": {
    "r": 217,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 301.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6588,
    "c": 0.23033,
    "h": 329
  },
  "luminance": 0.24864
}

Semantic roles & 50–950 ramp

primary
#D94DD5
secondary
#A5DDA6
accent
#E84540
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D94DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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