#D94FE7#D94FE7

#D94FE7 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.0% C 0.242 H 323.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#D94FE7
RGBrgb(217, 79, 231)
HSLhsl(294, 76%, 61%)
HSVhsv(294, 66%, 91%)
CMYKcmyk(6.1%, 65.8%, 0%, 9.4%)
CIE-LABlab(58.15, 72.49, -51.28)
CIE-LCHlch(58.15, 88.79, 324.73°)
OKLaboklab(67.05% 0.1958 -0.1426)
OKLCHoklch(67.05% 0.242 323.9)
XYZxyz(45.8338, 26.1159, 78.2125)
Luminance0.2611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94FE7 #5DE74F
analogous
#8D4FE7 #D94FE7 #E74FA9
triadic
#D94FE7 #E7D94F #4FE7D9
tetradic
#D94FE7 #E78D4F #5DE74F #4FA9E7
square
#D94FE7 #E78D4F #5DE74F #4FA9E7
split-complementary
#D94FE7 #A9E74F #4FE78D
monochromatic
#9817A5 #CA1EDB #D94FE7 #E585EE #F0BBF6

Accessibility & contrast

On white

3.37
#D94FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#D94FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94FE7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94FE7#FFFFFF#000000##000000
##D94FE71.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EB
Deuteranopia (green-blind)
#6991E3
Tritanopia (blue-blind)
#DD6795
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d94fe7;
/* rgb */ color: rgb(217, 79, 231);
/* oklch */ color: oklch(67.0% 0.242 323.9);
Tailwind
colors: {
  custom: {
    50: '#e88aef',
    500: '#d94fe7',
    950: '#000000',
  },
}
SCSS
$custom: #d94fe7;
$custom-light: #e88aef;
$custom-dark: #000000;
JSON
{
  "hex": "#d94fe7",
  "rgb": {
    "r": 217,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 294.474,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67048,
    "c": 0.24226,
    "h": 323.9
  },
  "luminance": 0.26113
}

Semantic roles & 50–950 ramp

primary
#D94FE7
secondary
#B1E6AC
accent
#D80D20
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #D94FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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