#D95EF7#D95EF7

#D95EF7 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.5% C 0.237 H 319.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#D95EF7
RGBrgb(217, 94, 247)
HSLhsl(288, 91%, 67%)
HSVhsv(288, 62%, 97%)
CMYKcmyk(12.1%, 61.9%, 0%, 3.1%)
CIE-LABlab(61.20, 69.27, -55.33)
CIE-LCHlch(61.20, 88.65, 321.38°)
OKLaboklab(69.53% 0.1795 -0.1546)
OKLCHoklch(69.53% 0.237 319.3)
XYZxyz(49.4043, 29.4747, 91.0645)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D95EF7 #7CF75E
analogous
#8C5EF7 #D95EF7 #F75EC9
triadic
#D95EF7 #F7D95E #5EF7D9
tetradic
#D95EF7 #F78C5E #7CF75E #5EC9F7
square
#D95EF7 #F78C5E #7CF75E #5EC9F7
split-complementary
#D95EF7 #C9F75E #5EF78C
monochromatic
#A90AD0 #CB24F4 #D95EF7 #E798FA #F5D3FD

Accessibility & contrast

On white

3.05
#D95EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#D95EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D95EF7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D95EF7#FFFFFF#000000##000000
##D95EF71.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#338BFC
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#D978A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d95ef7;
/* rgb */ color: rgb(217, 94, 247);
/* oklch */ color: oklch(69.5% 0.237 319.3);
Tailwind
colors: {
  custom: {
    50: '#e893fa',
    500: '#d95ef7',
    950: '#000000',
  },
}
SCSS
$custom: #d95ef7;
$custom-light: #e893fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d95ef7",
  "rgb": {
    "r": 217,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 288.235,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69528,
    "c": 0.23684,
    "h": 319.3
  },
  "luminance": 0.29473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D95EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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