#D156E5#D156E5

#D156E5 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.6% C 0.228 H 321.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#D156E5
RGBrgb(209, 86, 229)
HSLhsl(292, 73%, 62%)
HSVhsv(292, 62%, 90%)
CMYKcmyk(8.7%, 62.4%, 0%, 10.2%)
CIE-LABlab(57.91, 67.50, -50.60)
CIE-LCHlch(57.91, 84.36, 323.15°)
OKLaboklab(66.62% 0.1792 -0.1409)
OKLCHoklch(66.62% 0.228 321.8)
XYZxyz(43.7636, 25.8703, 76.8018)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156E5 #6AE556
analogous
#8A56E5 #D156E5 #E556B2
triadic
#D156E5 #E5D156 #56E5D1
tetradic
#D156E5 #E58A56 #6AE556 #56B2E5
square
#D156E5 #E58A56 #6AE556 #56B2E5
split-complementary
#D156E5 #B2E556 #56E58A
monochromatic
#931AA7 #C222DC #D156E5 #DF8BED #EEC0F5

Accessibility & contrast

On white

3.40
#D156E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#D156E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156E5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156E5#FFFFFF#000000##000000
##D156E51.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E9
Deuteranopia (green-blind)
#6790E1
Tritanopia (blue-blind)
#D36D96
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d156e5;
/* rgb */ color: rgb(209, 86, 229);
/* oklch */ color: oklch(66.6% 0.228 321.8);
Tailwind
colors: {
  custom: {
    50: '#e28dee',
    500: '#d156e5',
    950: '#000000',
  },
}
SCSS
$custom: #d156e5;
$custom-light: #e28dee;
$custom-dark: #000000;
JSON
{
  "hex": "#d156e5",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 291.608,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66615,
    "c": 0.22797,
    "h": 321.8
  },
  "luminance": 0.25868
}

Semantic roles & 50–950 ramp

primary
#D156E5
secondary
#B8E6B1
accent
#D5102C
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D156E5

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

Preview Lab → · Contrast checker → · Palette generator →

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