#D95FE7#D95FE7

#D95FE7 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.8% C 0.221 H 323.4°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#D95FE7
RGBrgb(217, 95, 231)
HSLhsl(294, 74%, 64%)
HSVhsv(294, 59%, 91%)
CMYKcmyk(6.1%, 58.9%, 0%, 9.4%)
CIE-LABlab(60.52, 65.91, -47.51)
CIE-LCHlch(60.52, 81.25, 324.22°)
OKLaboklab(68.77% 0.1777 -0.1318)
OKLCHoklch(68.77% 0.221 323.4)
XYZxyz(47.1299, 28.7082, 78.6446)
Luminance0.2871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D95FE7 #6DE75F
analogous
#955FE7 #D95FE7 #E75FB1
triadic
#D95FE7 #E7D95F #5FE7D9
tetradic
#D95FE7 #E7955F #6DE75F #5FB1E7
square
#D95FE7 #E7955F #6DE75F #5FB1E7
split-complementary
#D95FE7 #B1E75F #5FE795
monochromatic
#A21BB1 #CC2ADF #D95FE7 #E694EF #F2C9F7

Accessibility & contrast

On white

3.12
#D95FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#D95FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D95FE7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D95FE7#FFFFFF#000000##000000
##D95FE71.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4789EB
Deuteranopia (green-blind)
#7397E3
Tritanopia (blue-blind)
#DD739A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d95fe7;
/* rgb */ color: rgb(217, 95, 231);
/* oklch */ color: oklch(68.8% 0.221 323.4);
Tailwind
colors: {
  custom: {
    50: '#e893ef',
    500: '#d95fe7',
    950: '#000000',
  },
}
SCSS
$custom: #d95fe7;
$custom-light: #e893ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d95fe7",
  "rgb": {
    "r": 217,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 293.824,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68768,
    "c": 0.22128,
    "h": 323.4
  },
  "luminance": 0.28706
}

Semantic roles & 50–950 ramp

primary
#D95FE7
secondary
#BEE9B9
accent
#D60F24
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D95FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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