#D95FF2#D95FF2

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

Color values

HEX#D95FF2
RGBrgb(217, 95, 242)
HSLhsl(290, 85%, 66%)
HSVhsv(290, 61%, 95%)
CMYKcmyk(10.3%, 60.7%, 0%, 5.1%)
CIE-LABlab(61.09, 67.91, -52.74)
CIE-LCHlch(61.09, 85.98, 322.17°)
OKLaboklab(69.36% 0.1782 -0.147)
OKLCHoklch(69.36% 0.231 320.5)
XYZxyz(48.7326, 29.3492, 87.0852)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D95FF2 #78F25F
analogous
#8F5FF2 #D95FF2 #F25FC1
triadic
#D95FF2 #F2D95F #5FF2D9
tetradic
#D95FF2 #F28F5F #78F25F #5FC1F2
square
#D95FF2 #F28F5F #78F25F #5FC1F2
split-complementary
#D95FF2 #C1F25F #5FF28F
monochromatic
#A710C6 #CC26ED #D95FF2 #E698F7 #F4D0FB

Accessibility & contrast

On white

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

On black

6.87
#D95FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D95FF2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D95FF2#FFFFFF#000000##000000
##D95FF21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF7
Deuteranopia (green-blind)
#6C98EE
Tritanopia (blue-blind)
#DA77A0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d95ff2;
/* rgb */ color: rgb(217, 95, 242);
/* oklch */ color: oklch(69.4% 0.231 320.5);
Tailwind
colors: {
  custom: {
    50: '#e893f7',
    500: '#d95ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d95ff2;
$custom-light: #e893f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d95ff2",
  "rgb": {
    "r": 217,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 289.796,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69362,
    "c": 0.23102,
    "h": 320.5
  },
  "luminance": 0.29347
}

Semantic roles & 50–950 ramp

primary
#D95FF2
secondary
#C6EFBE
accent
#E1042A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D95FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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