#D95EF2#D95EF2

#D95EF2 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.2% C 0.232 H 320.5°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D95EF2
RGBrgb(217, 94, 242)
HSLhsl(290, 85%, 66%)
HSVhsv(290, 61%, 95%)
CMYKcmyk(10.3%, 61.2%, 0%, 5.1%)
CIE-LABlab(60.93, 68.34, -52.99)
CIE-LCHlch(60.93, 86.48, 322.21°)
OKLaboklab(69.25% 0.1794 -0.1477)
OKLCHoklch(69.25% 0.232 320.5)
XYZxyz(48.6431, 29.1702, 87.0554)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D95EF2 #77F25E
analogous
#8F5EF2 #D95EF2 #F25EC1
triadic
#D95EF2 #F2D95E #5EF2D9
tetradic
#D95EF2 #F28F5E #77F25E #5EC1F2
square
#D95EF2 #F28F5E #77F25E #5EC1F2
split-complementary
#D95EF2 #C1F25E #5EF28F
monochromatic
#A710C6 #CC25ED #D95EF2 #E697F7 #F4CFFB

Accessibility & contrast

On white

3.07
#D95EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D95EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D95EF2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D95EF2#FFFFFF#000000##000000
##D95EF21.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398AF7
Deuteranopia (green-blind)
#6C97EE
Tritanopia (blue-blind)
#DA76A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d95ef2;
/* rgb */ color: rgb(217, 94, 242);
/* oklch */ color: oklch(69.2% 0.232 320.5);
Tailwind
colors: {
  custom: {
    50: '#e893f7',
    500: '#d95ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d95ef2;
$custom-light: #e893f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d95ef2",
  "rgb": {
    "r": 217,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 289.865,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69248,
    "c": 0.23237,
    "h": 320.5
  },
  "luminance": 0.29168
}

Semantic roles & 50–950 ramp

primary
#D95EF2
secondary
#C6EEBD
accent
#E20429
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D95EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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