#D159F3#D159F3

#D159F3 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.7% C 0.236 H 318.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#D159F3
RGBrgb(209, 89, 243)
HSLhsl(287, 87%, 65%)
HSVhsv(287, 63%, 95%)
CMYKcmyk(14%, 63.4%, 0%, 4.7%)
CIE-LABlab(59.13, 68.83, -56.47)
CIE-LCHlch(59.13, 89.03, 320.63°)
OKLaboklab(67.74% 0.1759 -0.1581)
OKLCHoklch(67.74% 0.236 318.1)
XYZxyz(46.0423, 27.1731, 87.5963)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159F3 #7BF359
analogous
#8459F3 #D159F3 #F359C8
triadic
#D159F3 #F3D159 #59F3D1
tetradic
#D159F3 #F38459 #7BF359 #59C8F3
square
#D159F3 #F38459 #7BF359 #59C8F3
split-complementary
#D159F3 #C8F359 #59F384
monochromatic
#9B0EC3 #C120EF #D159F3 #E192F7 #F1CBFB

Accessibility & contrast

On white

3.26
#D159F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#D159F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159F3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159F3#FFFFFF#000000##000000
##D159F31.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2587F8
Deuteranopia (green-blind)
#6092EF
Tritanopia (blue-blind)
#D0749F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d159f3;
/* rgb */ color: rgb(209, 89, 243);
/* oklch */ color: oklch(67.7% 0.236 318.1);
Tailwind
colors: {
  custom: {
    50: '#e38ff8',
    500: '#d159f3',
    950: '#000000',
  },
}
SCSS
$custom: #d159f3;
$custom-light: #e38ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#d159f3",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 243
  },
  "hsl": {
    "h": 286.753,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67744,
    "c": 0.23647,
    "h": 318.1
  },
  "luminance": 0.27171
}

Semantic roles & 50–950 ramp

primary
#D159F3
secondary
#C5EEBA
accent
#E30234
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D159F3

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

Preview Lab → · Contrast checker → · Palette generator →

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