#D159F2#D159F2

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

Color values

HEX#D159F2
RGBrgb(209, 89, 242)
HSLhsl(287, 85%, 65%)
HSVhsv(287, 63%, 95%)
CMYKcmyk(13.6%, 63.2%, 0%, 5.1%)
CIE-LABlab(59.08, 68.64, -56.00)
CIE-LCHlch(59.08, 88.59, 320.79°)
OKLaboklab(67.69% 0.1759 -0.1567)
OKLCHoklch(67.69% 0.236 318.3)
XYZxyz(45.8917, 27.1128, 86.8031)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D159F2 #7AF259
analogous
#8559F2 #D159F2 #F259C6
triadic
#D159F2 #F2D159 #59F2D1
tetradic
#D159F2 #F28559 #7AF259 #59C6F2
square
#D159F2 #F28559 #7AF259 #59C6F2
split-complementary
#D159F2 #C6F259 #59F285
monochromatic
#9B0FC1 #C120EE #D159F2 #E192F6 #F0CBFB

Accessibility & contrast

On white

3.27
#D159F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#D159F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D159F2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D159F2#FFFFFF#000000##000000
##D159F21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#6092EE
Tritanopia (blue-blind)
#D0749E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d159f2;
/* rgb */ color: rgb(209, 89, 242);
/* oklch */ color: oklch(67.7% 0.236 318.3);
Tailwind
colors: {
  custom: {
    50: '#e38ff7',
    500: '#d159f2',
    950: '#000000',
  },
}
SCSS
$custom: #d159f2;
$custom-light: #e38ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d159f2",
  "rgb": {
    "r": 209,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 287.059,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67686,
    "c": 0.23556,
    "h": 318.3
  },
  "luminance": 0.27111
}

Semantic roles & 50–950 ramp

primary
#D159F2
secondary
#C5EDB9
accent
#E20434
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D159F2

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

Preview Lab → · Contrast checker → · Palette generator →

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