#D156EB#D156EB

#D156EB is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.233 H 320.2°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#D156EB
RGBrgb(209, 86, 235)
HSLhsl(290, 79%, 63%)
HSVhsv(290, 63%, 92%)
CMYKcmyk(11.1%, 63.4%, 0%, 7.8%)
CIE-LABlab(58.24, 68.60, -53.44)
CIE-LCHlch(58.24, 86.96, 322.08°)
OKLaboklab(66.95% 0.1793 -0.1492)
OKLCHoklch(66.95% 0.233 320.2)
XYZxyz(44.6159, 26.2112, 81.2903)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156EB #70EB56
analogous
#8656EB #D156EB #EB56BB
triadic
#D156EB #EBD156 #56EBD1
tetradic
#D156EB #EB8656 #70EB56 #56BBEB
square
#D156EB #EB8656 #70EB56 #56BBEB
split-complementary
#D156EB #BBEB56 #56EB86
monochromatic
#9615B2 #C21FE5 #D156EB #E08DF1 #EFC3F8

Accessibility & contrast

On white

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

On black

6.24
#D156EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156EB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156EB#FFFFFF#000000##000000
##D156EB1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C83EF
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#D26F99
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d156eb;
/* rgb */ color: rgb(209, 86, 235);
/* oklch */ color: oklch(67.0% 0.233 320.2);
Tailwind
colors: {
  custom: {
    50: '#e38df2',
    500: '#d156eb',
    950: '#000000',
  },
}
SCSS
$custom: #d156eb;
$custom-light: #e38df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d156eb",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 289.53,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66954,
    "c": 0.23323,
    "h": 320.2
  },
  "luminance": 0.26209
}

Semantic roles & 50–950 ramp

primary
#D156EB
secondary
#BDE9B4
accent
#DB0A2F
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D156EB

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

Preview Lab → · Contrast checker → · Palette generator →

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