#D94AFF#D94AFF

#D94AFF is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 68.0% C 0.268 H 318.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D94AFF
RGBrgb(217, 74, 255)
HSLhsl(287, 100%, 65%)
HSVhsv(287, 71%, 100%)
CMYKcmyk(14.9%, 71%, 0%, 0%)
CIE-LABlab(58.86, 78.57, -63.51)
CIE-LCHlch(58.86, 101.03, 321.05°)
OKLaboklab(67.99% 0.1998 -0.1783)
OKLCHoklch(67.99% 0.268 318.2)
XYZxyz(49.1116, 26.8715, 97.1881)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D94AFF #70FF4A
analogous
#7E4AFF #D94AFF #FF4ACB
triadic
#D94AFF #FFD94A #4AFFD9
tetradic
#D94AFF #FF7E4A #70FF4A #4ACBFF
square
#D94AFF #FF7E4A #70FF4A #4ACBFF
split-complementary
#D94AFF #CBFF4A #4AFF7E
monochromatic
#A300CF #CC0DFF #D94AFF #E687FF #F3C4FF

Accessibility & contrast

On white

3.29
#D94AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D94AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D94AFF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D94AFF#FFFFFF#000000##000000
##D94AFF1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#5392FB
Tritanopia (blue-blind)
#D86EA1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d94aff;
/* rgb */ color: rgb(217, 74, 255);
/* oklch */ color: oklch(68.0% 0.268 318.2);
Tailwind
colors: {
  custom: {
    50: '#e989ff',
    500: '#d94aff',
    950: '#000000',
  },
}
SCSS
$custom: #d94aff;
$custom-light: #e989ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d94aff",
  "rgb": {
    "r": 217,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 287.403,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67991,
    "c": 0.2678,
    "h": 318.2
  },
  "luminance": 0.26869
}

Semantic roles & 50–950 ramp

primary
#D94AFF
secondary
#C0F2B3
accent
#E60030
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#170D18
muted
#857D86

Preview Lab

Preview with #D94AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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