#D159F5#D159F5

#D159F5 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.9% C 0.238 H 317.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#D159F5
RGBrgb(209, 89, 245)
HSLhsl(286, 89%, 65%)
HSVhsv(286, 64%, 96%)
CMYKcmyk(14.7%, 63.7%, 0%, 3.9%)
CIE-LABlab(59.25, 69.21, -57.40)
CIE-LCHlch(59.25, 89.92, 320.33°)
OKLaboklab(67.86% 0.1759 -0.1608)
OKLCHoklch(67.86% 0.238 317.6)
XYZxyz(46.3460, 27.2945, 89.1956)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159F5 #7DF559
analogous
#8359F5 #D159F5 #F559CB
triadic
#D159F5 #F5D159 #59F5D1
tetradic
#D159F5 #F58359 #7DF559 #59CBF5
square
#D159F5 #F58359 #7DF559 #59CBF5
split-complementary
#D159F5 #CBF559 #59F583
monochromatic
#9C0CC8 #C11FF2 #D159F5 #E193F8 #F1CCFC

Accessibility & contrast

On white

3.25
#D159F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#D159F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159F5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159F5#FFFFFF#000000##000000
##D159F51.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2187FA
Deuteranopia (green-blind)
#5E92F1
Tritanopia (blue-blind)
#D075A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d159f5;
/* rgb */ color: rgb(209, 89, 245);
/* oklch */ color: oklch(67.9% 0.238 317.6);
Tailwind
colors: {
  custom: {
    50: '#e38ff9',
    500: '#d159f5',
    950: '#000000',
  },
}
SCSS
$custom: #d159f5;
$custom-light: #e38ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#d159f5",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 245
  },
  "hsl": {
    "h": 286.154,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6786,
    "c": 0.23827,
    "h": 317.6
  },
  "luminance": 0.27293
}

Semantic roles & 50–950 ramp

primary
#D159F5
secondary
#C7EFBB
accent
#E50035
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D159F5

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

Preview Lab → · Contrast checker → · Palette generator →

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