#D95FEF#D95FEF

#D95FEF is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.2% C 0.228 H 321.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D95FEF
RGBrgb(217, 95, 239)
HSLhsl(291, 82%, 65%)
HSVhsv(291, 60%, 94%)
CMYKcmyk(9.2%, 60.3%, 0%, 6.3%)
CIE-LABlab(60.93, 67.36, -51.32)
CIE-LCHlch(60.93, 84.68, 322.70°)
OKLaboklab(69.2% 0.1781 -0.1429)
OKLCHoklch(69.2% 0.228 321.3)
XYZxyz(48.2857, 29.1705, 84.7317)
Luminance0.2917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D95FEF #75EF5F
analogous
#915FEF #D95FEF #EF5FBD
triadic
#D95FEF #EFD95F #5FEFD9
tetradic
#D95FEF #EF915F #75EF5F #5FBDEF
square
#D95FEF #EF915F #75EF5F #5FBDEF
split-complementary
#D95FEF #BDEF5F #5FEF91
monochromatic
#A613C0 #CC27E9 #D95FEF #E697F5 #F3CEFA

Accessibility & contrast

On white

3.07
#D95FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D95FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D95FEF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D95FEF#FFFFFF#000000##000000
##D95FEF1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF3
Deuteranopia (green-blind)
#6E98EB
Tritanopia (blue-blind)
#DB759F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d95fef;
/* rgb */ color: rgb(217, 95, 239);
/* oklch */ color: oklch(69.2% 0.228 321.3);
Tailwind
colors: {
  custom: {
    50: '#e893f5',
    500: '#d95fef',
    950: '#000000',
  },
}
SCSS
$custom: #d95fef;
$custom-light: #e893f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d95fef",
  "rgb": {
    "r": 217,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 290.833,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69198,
    "c": 0.22834,
    "h": 321.3
  },
  "luminance": 0.29168
}

Semantic roles & 50–950 ramp

primary
#D95FEF
secondary
#C4EDBD
accent
#DE0728
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D95FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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