#D951F4#D951F4

#D951F4 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 68.0% C 0.251 H 320.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#D951F4
RGBrgb(217, 81, 244)
HSLhsl(290, 88%, 64%)
HSVhsv(290, 67%, 96%)
CMYKcmyk(11.1%, 66.8%, 0%, 4.3%)
CIE-LABlab(59.13, 74.01, -56.96)
CIE-LCHlch(59.13, 93.39, 322.41°)
OKLaboklab(67.99% 0.1936 -0.1592)
OKLCHoklch(67.99% 0.251 320.6)
XYZxyz(47.8849, 27.1706, 88.2926)
Luminance0.2717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951F4 #6CF451
analogous
#8751F4 #D951F4 #F451BE
triadic
#D951F4 #F4D951 #51F4D9
tetradic
#D951F4 #F48751 #6CF451 #51BEF4
square
#D951F4 #F48751 #6CF451 #51BEF4
split-complementary
#D951F4 #BEF451 #51F487
monochromatic
#A10CBF #CC17F0 #D951F4 #E68BF8 #F2C4FB

Accessibility & contrast

On white

3.26
#D951F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#D951F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951F4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951F4#FFFFFF#000000##000000
##D951F41.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1485F9
Deuteranopia (green-blind)
#6193F0
Tritanopia (blue-blind)
#DA6E9D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d951f4;
/* rgb */ color: rgb(217, 81, 244);
/* oklch */ color: oklch(68.0% 0.251 320.6);
Tailwind
colors: {
  custom: {
    50: '#e98cf8',
    500: '#d951f4',
    950: '#000000',
  },
}
SCSS
$custom: #d951f4;
$custom-light: #e98cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#d951f4",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 244
  },
  "hsl": {
    "h": 290.061,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67985,
    "c": 0.25066,
    "h": 320.6
  },
  "luminance": 0.27168
}

Semantic roles & 50–950 ramp

primary
#D951F4
secondary
#BDEDB4
accent
#E50127
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #D951F4

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

Preview Lab → · Contrast checker → · Palette generator →

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