#D156E2#D156E2

#D156E2 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.4% C 0.225 H 322.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#D156E2
RGBrgb(209, 86, 226)
HSLhsl(293, 71%, 61%)
HSVhsv(293, 62%, 89%)
CMYKcmyk(7.5%, 61.9%, 0%, 11.4%)
CIE-LABlab(57.76, 66.96, -49.16)
CIE-LCHlch(57.76, 83.07, 323.71°)
OKLaboklab(66.45% 0.1791 -0.1367)
OKLCHoklch(66.45% 0.225 322.6)
XYZxyz(43.3484, 25.7042, 74.6149)
Luminance0.2570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156E2 #67E256
analogous
#8B56E2 #D156E2 #E256AD
triadic
#D156E2 #E2D156 #56E2D1
tetradic
#D156E2 #E28B56 #67E256 #56ADE2
square
#D156E2 #E28B56 #67E256 #56ADE2
split-complementary
#D156E2 #ADE256 #56E28B
monochromatic
#921CA2 #C125D6 #D156E2 #DF8AEB #EDBEF4

Accessibility & contrast

On white

3.42
#D156E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#D156E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156E2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156E2#FFFFFF#000000##000000
##D156E21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E6
Deuteranopia (green-blind)
#6990DE
Tritanopia (blue-blind)
#D46C95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d156e2;
/* rgb */ color: rgb(209, 86, 226);
/* oklch */ color: oklch(66.4% 0.225 322.6);
Tailwind
colors: {
  custom: {
    50: '#e28dec',
    500: '#d156e2',
    950: '#000000',
  },
}
SCSS
$custom: #d156e2;
$custom-light: #e28dec;
$custom-dark: #000000;
JSON
{
  "hex": "#d156e2",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 292.714,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66449,
    "c": 0.22536,
    "h": 322.6
  },
  "luminance": 0.25702
}

Semantic roles & 50–950 ramp

primary
#D156E2
secondary
#B6E4B0
accent
#D3132A
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D156E2

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

Preview Lab → · Contrast checker → · Palette generator →

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