#D156E7#D156E7

#D156E7 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.7% C 0.230 H 321.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#D156E7
RGBrgb(209, 86, 231)
HSLhsl(291, 75%, 62%)
HSVhsv(291, 63%, 91%)
CMYKcmyk(9.5%, 62.8%, 0%, 9.4%)
CIE-LABlab(58.02, 67.87, -51.55)
CIE-LCHlch(58.02, 85.22, 322.78°)
OKLaboklab(66.73% 0.1792 -0.1437)
OKLCHoklch(66.73% 0.23 321.3)
XYZxyz(44.0445, 25.9826, 78.2810)
Luminance0.2598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156E7 #6CE756
analogous
#8956E7 #D156E7 #E756B4
triadic
#D156E7 #E7D156 #56E7D1
tetradic
#D156E7 #E78956 #6CE756 #56B4E7
square
#D156E7 #E78956 #6CE756 #56B4E7
split-complementary
#D156E7 #B4E756 #56E789
monochromatic
#9418AA #C220DF #D156E7 #E08CEF #EEC1F6

Accessibility & contrast

On white

3.39
#D156E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#D156E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156E7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156E7#FFFFFF#000000##000000
##D156E71.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3283EB
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#D36E97
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d156e7;
/* rgb */ color: rgb(209, 86, 231);
/* oklch */ color: oklch(66.7% 0.230 321.3);
Tailwind
colors: {
  custom: {
    50: '#e28def',
    500: '#d156e7',
    950: '#000000',
  },
}
SCSS
$custom: #d156e7;
$custom-light: #e28def;
$custom-dark: #000000;
JSON
{
  "hex": "#d156e7",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 290.897,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66727,
    "c": 0.22972,
    "h": 321.3
  },
  "luminance": 0.2598
}

Semantic roles & 50–950 ramp

primary
#D156E7
secondary
#BAE7B2
accent
#D70E2D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D156E7

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

Preview Lab → · Contrast checker → · Palette generator →

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