#D959EC#D959EC

#D959EC is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.4% C 0.234 H 322.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#D959EC
RGBrgb(217, 89, 236)
HSLhsl(292, 79%, 64%)
HSVhsv(292, 62%, 93%)
CMYKcmyk(8.1%, 62.3%, 0%, 7.5%)
CIE-LABlab(59.85, 69.37, -51.37)
CIE-LCHlch(59.85, 86.32, 323.48°)
OKLaboklab(68.36% 0.185 -0.143)
OKLCHoklch(68.36% 0.234 322.3)
XYZxyz(47.3264, 27.9551, 82.2437)
Luminance0.2795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D959EC #6CEC59
analogous
#8F59EC #D959EC #EC59B5
triadic
#D959EC #ECD959 #59ECD9
tetradic
#D959EC #EC8F59 #6CEC59 #59B5EC
square
#D959EC #EC8F59 #6CEC59 #59B5EC
split-complementary
#D959EC #B5EC59 #59EC8F
monochromatic
#A115B6 #CC22E6 #D959EC #E690F2 #F2C7F9

Accessibility & contrast

On white

3.19
#D959EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#D959EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D959EC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D959EC#FFFFFF#000000##000000
##D959EC1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#DC709B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d959ec;
/* rgb */ color: rgb(217, 89, 236);
/* oklch */ color: oklch(68.4% 0.234 322.3);
Tailwind
colors: {
  custom: {
    50: '#e890f3',
    500: '#d959ec',
    950: '#000000',
  },
}
SCSS
$custom: #d959ec;
$custom-light: #e890f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d959ec",
  "rgb": {
    "r": 217,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 292.245,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68361,
    "c": 0.23377,
    "h": 322.3
  },
  "luminance": 0.27953
}

Semantic roles & 50–950 ramp

primary
#D959EC
secondary
#BDEAB6
accent
#DC0A25
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D959EC

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

Preview Lab → · Contrast checker → · Palette generator →

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