#D156F4#D156F4

#D156F4 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.5% C 0.241 H 318.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#D156F4
RGBrgb(209, 86, 244)
HSLhsl(287, 88%, 65%)
HSVhsv(287, 65%, 96%)
CMYKcmyk(14.3%, 64.8%, 0%, 4.3%)
CIE-LABlab(58.74, 70.28, -57.66)
CIE-LCHlch(58.74, 90.90, 320.63°)
OKLaboklab(67.47% 0.1792 -0.1615)
OKLCHoklch(67.47% 0.241 318)
XYZxyz(45.9491, 26.7445, 88.3122)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156F4 #79F456
analogous
#8256F4 #D156F4 #F456C8
triadic
#D156F4 #F4D156 #56F4D1
tetradic
#D156F4 #F48256 #79F456 #56C8F4
square
#D156F4 #F48256 #79F456 #56C8F4
split-complementary
#D156F4 #C8F456 #56F482
monochromatic
#9B0DC3 #C11DF0 #D156F4 #E18FF8 #F0C9FB

Accessibility & contrast

On white

3.31
#D156F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#D156F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156F4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156F4#FFFFFF#000000##000000
##D156F41.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1985F9
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#D0739E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d156f4;
/* rgb */ color: rgb(209, 86, 244);
/* oklch */ color: oklch(67.5% 0.241 318.0);
Tailwind
colors: {
  custom: {
    50: '#e38ef8',
    500: '#d156f4',
    950: '#000000',
  },
}
SCSS
$custom: #d156f4;
$custom-light: #e38ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#d156f4",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 244
  },
  "hsl": {
    "h": 286.709,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67475,
    "c": 0.24123,
    "h": 318
  },
  "luminance": 0.26743
}

Semantic roles & 50–950 ramp

primary
#D156F4
secondary
#C4EEB8
accent
#E40133
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D156F4

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

Preview Lab → · Contrast checker → · Palette generator →

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