#D156EA#D156EA

#D156EA is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.9% C 0.232 H 320.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#D156EA
RGBrgb(209, 86, 234)
HSLhsl(290, 78%, 63%)
HSVhsv(290, 63%, 92%)
CMYKcmyk(10.7%, 63.2%, 0%, 8.2%)
CIE-LABlab(58.18, 68.42, -52.97)
CIE-LCHlch(58.18, 86.52, 322.25°)
OKLaboklab(66.9% 0.1793 -0.1478)
OKLCHoklch(66.9% 0.232 320.5)
XYZxyz(44.4718, 26.1535, 80.5316)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156EA #6FEA56
analogous
#8756EA #D156EA #EA56B9
triadic
#D156EA #EAD156 #56EAD1
tetradic
#D156EA #EA8756 #6FEA56 #56B9EA
square
#D156EA #EA8756 #6FEA56 #56B9EA
split-complementary
#D156EA #B9EA56 #56EA87
monochromatic
#9616B0 #C220E3 #D156EA #E08CF1 #EFC3F8

Accessibility & contrast

On white

3.37
#D156EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#D156EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156EA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156EA#FFFFFF#000000##000000
##D156EA1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D83EE
Deuteranopia (green-blind)
#6490E6
Tritanopia (blue-blind)
#D26F99
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d156ea;
/* rgb */ color: rgb(209, 86, 234);
/* oklch */ color: oklch(66.9% 0.232 320.5);
Tailwind
colors: {
  custom: {
    50: '#e38df1',
    500: '#d156ea',
    950: '#000000',
  },
}
SCSS
$custom: #d156ea;
$custom-light: #e38df1;
$custom-dark: #000000;
JSON
{
  "hex": "#d156ea",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 289.865,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66897,
    "c": 0.23235,
    "h": 320.5
  },
  "luminance": 0.26151
}

Semantic roles & 50–950 ramp

primary
#D156EA
secondary
#BCE9B3
accent
#DA0B2E
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D156EA

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

Preview Lab → · Contrast checker → · Palette generator →

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