#D94FE2#D94FE2

#D94FE2 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.8% C 0.238 H 325.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D94FE2
RGBrgb(217, 79, 226)
HSLhsl(296, 72%, 60%)
HSVhsv(296, 65%, 89%)
CMYKcmyk(4%, 65%, 0%, 11.4%)
CIE-LABlab(57.88, 71.64, -48.89)
CIE-LCHlch(57.88, 86.73, 325.69°)
OKLaboklab(66.77% 0.1958 -0.1357)
OKLCHoklch(66.77% 0.238 325.3)
XYZxyz(45.1377, 25.8374, 74.5464)
Luminance0.2584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94FE2 #58E24F
analogous
#904FE2 #D94FE2 #E24FA1
triadic
#D94FE2 #E2D94F #4FE2D9
tetradic
#D94FE2 #E2904F #58E24F #4FA1E2
square
#D94FE2 #E2904F #58E24F #4FA1E2
split-complementary
#D94FE2 #A1E24F #4FE290
monochromatic
#951A9D #C722D1 #D94FE2 #E484EB #F0B8F3

Accessibility & contrast

On white

3.41
#D94FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D94FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94FE2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94FE2#FFFFFF#000000##000000
##D94FE21.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E6
Deuteranopia (green-blind)
#6C91DE
Tritanopia (blue-blind)
#DE6592
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d94fe2;
/* rgb */ color: rgb(217, 79, 226);
/* oklch */ color: oklch(66.8% 0.238 325.3);
Tailwind
colors: {
  custom: {
    50: '#e88aec',
    500: '#d94fe2',
    950: '#000000',
  },
}
SCSS
$custom: #d94fe2;
$custom-light: #e88aec;
$custom-dark: #000000;
JSON
{
  "hex": "#d94fe2",
  "rgb": {
    "r": 217,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 296.327,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66772,
    "c": 0.23818,
    "h": 325.3
  },
  "luminance": 0.25835
}

Semantic roles & 50–950 ramp

primary
#D94FE2
secondary
#ADE3AA
accent
#EE3944
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170D16
muted
#857D84

Preview Lab

Preview with #D94FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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