#D159F7#D159F7

#D159F7 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 68.0% C 0.240 H 317.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D159F7
RGBrgb(209, 89, 247)
HSLhsl(286, 91%, 66%)
HSVhsv(286, 64%, 97%)
CMYKcmyk(15.4%, 64%, 0%, 3.1%)
CIE-LABlab(59.36, 69.59, -58.33)
CIE-LCHlch(59.36, 90.80, 320.03°)
OKLaboklab(67.98% 0.1758 -0.1635)
OKLCHoklch(67.98% 0.24 317.1)
XYZxyz(46.6529, 27.4173, 90.8123)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159F7 #7FF759
analogous
#8259F7 #D159F7 #F759CE
triadic
#D159F7 #F7D159 #59F7D1
tetradic
#D159F7 #F78259 #7FF759 #59CEF7
square
#D159F7 #F78259 #7FF759 #59CEF7
split-complementary
#D159F7 #CEF759 #59F782
monochromatic
#9D0ACC #C11FF4 #D159F7 #E193FA #F1CEFD

Accessibility & contrast

On white

3.24
#D159F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D159F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159F7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159F7#FFFFFF#000000##000000
##D159F71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C87FC
Deuteranopia (green-blind)
#5C93F3
Tritanopia (blue-blind)
#CF76A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d159f7;
/* rgb */ color: rgb(209, 89, 247);
/* oklch */ color: oklch(68.0% 0.240 317.1);
Tailwind
colors: {
  custom: {
    50: '#e38ffa',
    500: '#d159f7',
    950: '#000000',
  },
}
SCSS
$custom: #d159f7;
$custom-light: #e38ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#d159f7",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 247
  },
  "hsl": {
    "h": 285.57,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67978,
    "c": 0.24009,
    "h": 317.1
  },
  "luminance": 0.27415
}

Semantic roles & 50–950 ramp

primary
#D159F7
secondary
#C8F0BC
accent
#E60037
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D159F7

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

Preview Lab → · Contrast checker → · Palette generator →

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