#D959EF#D959EF

#D959EF is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.5% C 0.236 H 321.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#D959EF
RGBrgb(217, 89, 239)
HSLhsl(291, 82%, 64%)
HSVhsv(291, 63%, 94%)
CMYKcmyk(9.2%, 62.8%, 0%, 6.3%)
CIE-LABlab(60.01, 69.91, -52.79)
CIE-LCHlch(60.01, 87.60, 322.94°)
OKLaboklab(68.53% 0.185 -0.1471)
OKLCHoklch(68.53% 0.236 321.5)
XYZxyz(47.7659, 28.1309, 84.5584)
Luminance0.2813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D959EF #6FEF59
analogous
#8E59EF #D959EF #EF59BA
triadic
#D959EF #EFD959 #59EFD9
tetradic
#D959EF #EF8E59 #6FEF59 #59BAEF
square
#D959EF #EF8E59 #6FEF59 #59BAEF
split-complementary
#D959EF #BAEF59 #59EF8E
monochromatic
#A312BC #CC21EA #D959EF #E691F4 #F3C9FA

Accessibility & contrast

On white

3.17
#D959EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#D959EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D959EF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D959EF#FFFFFF#000000##000000
##D959EF1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F4
Deuteranopia (green-blind)
#6A95EB
Tritanopia (blue-blind)
#DB719C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d959ef;
/* rgb */ color: rgb(217, 89, 239);
/* oklch */ color: oklch(68.5% 0.236 321.5);
Tailwind
colors: {
  custom: {
    50: '#e890f5',
    500: '#d959ef',
    950: '#000000',
  },
}
SCSS
$custom: #d959ef;
$custom-light: #e890f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d959ef",
  "rgb": {
    "r": 217,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 291.2,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68527,
    "c": 0.23637,
    "h": 321.5
  },
  "luminance": 0.28128
}

Semantic roles & 50–950 ramp

primary
#D959EF
secondary
#C0ECB8
accent
#DF0726
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D959EF

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

Preview Lab → · Contrast checker → · Palette generator →

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