#D156E8#D156E8

#D156E8 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.231 H 321.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#D156E8
RGBrgb(209, 86, 232)
HSLhsl(291, 76%, 62%)
HSVhsv(291, 63%, 91%)
CMYKcmyk(9.9%, 62.9%, 0%, 9%)
CIE-LABlab(58.07, 68.05, -52.02)
CIE-LCHlch(58.07, 85.66, 322.60°)
OKLaboklab(66.78% 0.1793 -0.1451)
OKLCHoklch(66.78% 0.231 321)
XYZxyz(44.1861, 26.0393, 79.0269)
Luminance0.2604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156E8 #6DE856
analogous
#8856E8 #D156E8 #E856B6
triadic
#D156E8 #E8D156 #56E8D1
tetradic
#D156E8 #E88856 #6DE856 #56B6E8
square
#D156E8 #E88856 #6DE856 #56B6E8
split-complementary
#D156E8 #B6E856 #56E888
monochromatic
#9517AC #C220E1 #D156E8 #E08CEF #EEC2F7

Accessibility & contrast

On white

3.38
#D156E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#D156E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156E8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156E8#FFFFFF#000000##000000
##D156E81.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083EC
Deuteranopia (green-blind)
#6590E4
Tritanopia (blue-blind)
#D36E98
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d156e8;
/* rgb */ color: rgb(209, 86, 232);
/* oklch */ color: oklch(66.8% 0.231 321.0);
Tailwind
colors: {
  custom: {
    50: '#e28df0',
    500: '#d156e8',
    950: '#000000',
  },
}
SCSS
$custom: #d156e8;
$custom-light: #e28df0;
$custom-dark: #000000;
JSON
{
  "hex": "#d156e8",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 290.548,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66783,
    "c": 0.23059,
    "h": 321
  },
  "luminance": 0.26037
}

Semantic roles & 50–950 ramp

primary
#D156E8
secondary
#BBE8B2
accent
#D80D2D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D156E8

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

Preview Lab → · Contrast checker → · Palette generator →

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