#D95DFE#D95DFE

#D95DFE is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.8% C 0.244 H 317.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#D95DFE
RGBrgb(217, 93, 254)
HSLhsl(286, 99%, 68%)
HSVhsv(286, 63%, 100%)
CMYKcmyk(14.6%, 63.4%, 0%, 0.4%)
CIE-LABlab(61.43, 71.00, -58.83)
CIE-LCHlch(61.43, 92.21, 320.35°)
OKLaboklab(69.82% 0.1805 -0.1648)
OKLCHoklch(69.82% 0.244 317.6)
XYZxyz(50.4165, 29.7382, 96.8311)
Luminance0.2974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D95DFE #82FE5D
analogous
#885DFE #D95DFE #FE5DD3
triadic
#D95DFE #FED95D #5DFED9
tetradic
#D95DFE #FE885D #82FE5D #5DD3FE
square
#D95DFE #FE885D #82FE5D #5DD3FE
split-complementary
#D95DFE #D3FE5D #5DFE88
monochromatic
#AC01DF #CB20FE #D95DFE #E79AFE #F6D7FF

Accessibility & contrast

On white

3.02
#D95DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#D95DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D95DFE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D95DFE#FFFFFF#000000##000000
##D95DFE1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#248CFF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#D87AA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d95dfe;
/* rgb */ color: rgb(217, 93, 254);
/* oklch */ color: oklch(69.8% 0.244 317.6);
Tailwind
colors: {
  custom: {
    50: '#e892ff',
    500: '#d95dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d95dfe;
$custom-light: #e892ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d95dfe",
  "rgb": {
    "r": 217,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 286.211,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69817,
    "c": 0.24443,
    "h": 317.6
  },
  "luminance": 0.29736
}

Semantic roles & 50–950 ramp

primary
#D95DFE
secondary
#CEF4C3
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #D95DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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