#D156E4#D156E4

#D156E4 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.6% C 0.227 H 322.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#D156E4
RGBrgb(209, 86, 228)
HSLhsl(292, 72%, 62%)
HSVhsv(292, 62%, 89%)
CMYKcmyk(8.3%, 62.3%, 0%, 10.6%)
CIE-LABlab(57.86, 67.32, -50.12)
CIE-LCHlch(57.86, 83.93, 323.33°)
OKLaboklab(66.56% 0.1792 -0.1395)
OKLCHoklch(66.56% 0.227 322.1)
XYZxyz(43.6244, 25.8146, 76.0686)
Luminance0.2581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156E4 #69E456
analogous
#8A56E4 #D156E4 #E456B0
triadic
#D156E4 #E4D156 #56E4D1
tetradic
#D156E4 #E48A56 #69E456 #56B0E4
square
#D156E4 #E48A56 #69E456 #56B0E4
split-complementary
#D156E4 #B0E456 #56E48A
monochromatic
#931AA5 #C123DA #D156E4 #DF8BEC #EEC0F5

Accessibility & contrast

On white

3.41
#D156E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#D156E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156E4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156E4#FFFFFF#000000##000000
##D156E41.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E8
Deuteranopia (green-blind)
#6890E0
Tritanopia (blue-blind)
#D36C96
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d156e4;
/* rgb */ color: rgb(209, 86, 228);
/* oklch */ color: oklch(66.6% 0.227 322.1);
Tailwind
colors: {
  custom: {
    50: '#e28ded',
    500: '#d156e4',
    950: '#000000',
  },
}
SCSS
$custom: #d156e4;
$custom-light: #e28ded;
$custom-dark: #000000;
JSON
{
  "hex": "#d156e4",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 291.972,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6656,
    "c": 0.22709,
    "h": 322.1
  },
  "luminance": 0.25812
}

Semantic roles & 50–950 ramp

primary
#D156E4
secondary
#B8E5B0
accent
#D5112B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D156E4

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

Preview Lab → · Contrast checker → · Palette generator →

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