#D156EF#D156EF

#D156EF is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.2% C 0.237 H 319.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#D156EF
RGBrgb(209, 86, 239)
HSLhsl(288, 83%, 64%)
HSVhsv(288, 64%, 94%)
CMYKcmyk(12.6%, 64%, 0%, 6.3%)
CIE-LABlab(58.46, 69.34, -55.32)
CIE-LCHlch(58.46, 88.71, 321.42°)
OKLaboklab(67.18% 0.1793 -0.1547)
OKLCHoklch(67.18% 0.237 319.2)
XYZxyz(45.2003, 26.4449, 84.3681)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156EF #74EF56
analogous
#8456EF #D156EF #EF56C1
triadic
#D156EF #EFD156 #56EFD1
tetradic
#D156EF #EF8456 #74EF56 #56C1EF
square
#D156EF #EF8456 #74EF56 #56C1EF
split-complementary
#D156EF #C1EF56 #56EF84
monochromatic
#9812B9 #C21EEA #D156EF #E08EF4 #EFC6FA

Accessibility & contrast

On white

3.34
#D156EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#D156EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156EF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156EF#FFFFFF#000000##000000
##D156EF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F4
Deuteranopia (green-blind)
#6091EB
Tritanopia (blue-blind)
#D1719B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d156ef;
/* rgb */ color: rgb(209, 86, 239);
/* oklch */ color: oklch(67.2% 0.237 319.2);
Tailwind
colors: {
  custom: {
    50: '#e38ef5',
    500: '#d156ef',
    950: '#000000',
  },
}
SCSS
$custom: #d156ef;
$custom-light: #e38ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d156ef",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 288.235,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67183,
    "c": 0.23678,
    "h": 319.2
  },
  "luminance": 0.26443
}

Semantic roles & 50–950 ramp

primary
#D156EF
secondary
#C0EBB5
accent
#DF0631
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D156EF

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

Preview Lab → · Contrast checker → · Palette generator →

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