#D95FE2#D95FE2

#D95FE2 is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 68.5% C 0.217 H 324.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#D95FE2
RGBrgb(217, 95, 226)
HSLhsl(296, 69%, 63%)
HSVhsv(296, 58%, 89%)
CMYKcmyk(4%, 58%, 0%, 11.4%)
CIE-LABlab(60.27, 65.02, -45.10)
CIE-LCHlch(60.27, 79.13, 325.25°)
OKLaboklab(68.51% 0.1774 -0.1248)
OKLCHoklch(68.51% 0.217 324.9)
XYZxyz(46.4338, 28.4297, 74.9785)
Luminance0.2843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D95FE2 #68E25F
analogous
#975FE2 #D95FE2 #E25FA9
triadic
#D95FE2 #E2D95F #5FE2D9
tetradic
#D95FE2 #E2975F #68E25F #5FA9E2
square
#D95FE2 #E2975F #68E25F #5FA9E2
split-complementary
#D95FE2 #A9E25F #5FE297
monochromatic
#9F1EA8 #CD2BD9 #D95FE2 #E593EB #F2C7F5

Accessibility & contrast

On white

3.14
#D95FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#D95FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D95FE2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D95FE2#FFFFFF#000000##000000
##D95FE21.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B88E6
Deuteranopia (green-blind)
#7697DE
Tritanopia (blue-blind)
#DD7198
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d95fe2;
/* rgb */ color: rgb(217, 95, 226);
/* oklch */ color: oklch(68.5% 0.217 324.9);
Tailwind
colors: {
  custom: {
    50: '#e893eb',
    500: '#d95fe2',
    950: '#000000',
  },
}
SCSS
$custom: #d95fe2;
$custom-light: #e893eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d95fe2",
  "rgb": {
    "r": 217,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 295.878,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68507,
    "c": 0.21692,
    "h": 324.9
  },
  "luminance": 0.28427
}

Semantic roles & 50–950 ramp

primary
#D95FE2
secondary
#BAE6B7
accent
#D11421
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D95FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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