#D159FE#D159FE

#D159FE is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.4% C 0.246 H 315.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D159FE
RGBrgb(209, 89, 254)
HSLhsl(284, 99%, 67%)
HSVhsv(284, 65%, 100%)
CMYKcmyk(17.7%, 65%, 0%, 0.4%)
CIE-LABlab(59.76, 70.94, -61.56)
CIE-LCHlch(59.76, 93.93, 319.05°)
OKLaboklab(68.4% 0.1756 -0.173)
OKLCHoklch(68.4% 0.246 315.4)
XYZxyz(47.7534, 27.8575, 96.6083)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159FE #86FE59
analogous
#7E59FE #D159FE #FE59D9
triadic
#D159FE #FED159 #59FED1
tetradic
#D159FE #FE7E59 #86FE59 #59D9FE
square
#D159FE #FE7E59 #86FE59 #59D9FE
split-complementary
#D159FE #D9FE59 #59FE7E
monochromatic
#A001DB #C01CFE #D159FE #E296FE #F3D3FF

Accessibility & contrast

On white

3.20
#D159FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#D159FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159FE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159FE#FFFFFF#000000##000000
##D159FE1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#5793FA
Tritanopia (blue-blind)
#CE78A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d159fe;
/* rgb */ color: rgb(209, 89, 254);
/* oklch */ color: oklch(68.4% 0.246 315.4);
Tailwind
colors: {
  custom: {
    50: '#e390ff',
    500: '#d159fe',
    950: '#000000',
  },
}
SCSS
$custom: #d159fe;
$custom-light: #e390ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d159fe",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 254
  },
  "hsl": {
    "h": 283.636,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68395,
    "c": 0.24646,
    "h": 315.4
  },
  "luminance": 0.27856
}

Semantic roles & 50–950 ramp

primary
#D159FE
secondary
#CEF3BF
accent
#E6003F
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D159FE

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

Preview Lab → · Contrast checker → · Palette generator →

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