#D95DF7#D95DF7

#D95DF7 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.4% C 0.238 H 319.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#D95DF7
RGBrgb(217, 93, 247)
HSLhsl(288, 91%, 67%)
HSVhsv(288, 62%, 97%)
CMYKcmyk(12.1%, 62.3%, 0%, 3.1%)
CIE-LABlab(61.04, 69.69, -55.58)
CIE-LCHlch(61.04, 89.14, 321.43°)
OKLaboklab(69.42% 0.1806 -0.1553)
OKLCHoklch(69.42% 0.238 319.3)
XYZxyz(49.3160, 29.2980, 91.0350)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D95DF7 #7BF75D
analogous
#8C5DF7 #D95DF7 #F75DC8
triadic
#D95DF7 #F7D95D #5DF7D9
tetradic
#D95DF7 #F78C5D #7BF75D #5DC8F7
square
#D95DF7 #F78C5D #7BF75D #5DC8F7
split-complementary
#D95DF7 #C8F75D #5DF78C
monochromatic
#A90ACF #CB23F4 #D95DF7 #E797FA #F4D2FD

Accessibility & contrast

On white

3.06
#D95DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#D95DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D95DF7
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D95DF7#FFFFFF#000000##000000
##D95DF71.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#318BFC
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#D977A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d95df7;
/* rgb */ color: rgb(217, 93, 247);
/* oklch */ color: oklch(69.4% 0.238 319.3);
Tailwind
colors: {
  custom: {
    50: '#e892fa',
    500: '#d95df7',
    950: '#000000',
  },
}
SCSS
$custom: #d95df7;
$custom-light: #e892fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d95df7",
  "rgb": {
    "r": 217,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 288.312,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69416,
    "c": 0.23816,
    "h": 319.3
  },
  "luminance": 0.29296
}

Semantic roles & 50–950 ramp

primary
#D95DF7
secondary
#C9F1BF
accent
#E6002D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D95DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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