#D156EC#D156EC

#D156EC is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 67.0% C 0.234 H 320.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#D156EC
RGBrgb(209, 86, 236)
HSLhsl(289, 80%, 63%)
HSVhsv(289, 64%, 93%)
CMYKcmyk(11.4%, 63.6%, 0%, 7.5%)
CIE-LABlab(58.29, 68.78, -53.91)
CIE-LCHlch(58.29, 87.39, 321.91°)
OKLaboklab(67.01% 0.1793 -0.1506)
OKLCHoklch(67.01% 0.234 320)
XYZxyz(44.7607, 26.2691, 82.0533)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156EC #71EC56
analogous
#8656EC #D156EC #EC56BC
triadic
#D156EC #ECD156 #56ECD1
tetradic
#D156EC #EC8656 #71EC56 #56BCEC
square
#D156EC #EC8656 #71EC56 #56BCEC
split-complementary
#D156EC #BCEC56 #56EC86
monochromatic
#9714B3 #C21FE6 #D156EC #E08DF2 #EFC4F8

Accessibility & contrast

On white

3.36
#D156EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#D156EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156EC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156EC#FFFFFF#000000##000000
##D156EC1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A84F0
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#D26F9A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d156ec;
/* rgb */ color: rgb(209, 86, 236);
/* oklch */ color: oklch(67.0% 0.234 320.0);
Tailwind
colors: {
  custom: {
    50: '#e38df3',
    500: '#d156ec',
    950: '#000000',
  },
}
SCSS
$custom: #d156ec;
$custom-light: #e38df3;
$custom-dark: #000000;
JSON
{
  "hex": "#d156ec",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 289.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67011,
    "c": 0.23411,
    "h": 320
  },
  "luminance": 0.26267
}

Semantic roles & 50–950 ramp

primary
#D156EC
secondary
#BEEAB4
accent
#DC092F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D156EC

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

Preview Lab → · Contrast checker → · Palette generator →

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