#D156F2#D156F2

#D156F2 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.4% C 0.239 H 318.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#D156F2
RGBrgb(209, 86, 242)
HSLhsl(287, 86%, 64%)
HSVhsv(287, 64%, 95%)
CMYKcmyk(13.6%, 64.5%, 0%, 5.1%)
CIE-LABlab(58.62, 69.90, -56.73)
CIE-LCHlch(58.62, 90.02, 320.94°)
OKLaboklab(67.36% 0.1792 -0.1588)
OKLCHoklch(67.36% 0.239 318.5)
XYZxyz(45.6471, 26.6237, 86.7216)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156F2 #77F256
analogous
#8356F2 #D156F2 #F256C5
triadic
#D156F2 #F2D156 #56F2D1
tetradic
#D156F2 #F28356 #77F256 #56C5F2
square
#D156F2 #F28356 #77F256 #56C5F2
split-complementary
#D156F2 #C5F256 #56F283
monochromatic
#9A0FBF #C21DEE #D156F2 #E08FF6 #F0C8FB

Accessibility & contrast

On white

3.32
#D156F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#D156F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156F2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156F2#FFFFFF#000000##000000
##D156F21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E85F7
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#D1729D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d156f2;
/* rgb */ color: rgb(209, 86, 242);
/* oklch */ color: oklch(67.4% 0.239 318.5);
Tailwind
colors: {
  custom: {
    50: '#e38ef7',
    500: '#d156f2',
    950: '#000000',
  },
}
SCSS
$custom: #d156f2;
$custom-light: #e38ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d156f2",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 287.308,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67358,
    "c": 0.23944,
    "h": 318.5
  },
  "luminance": 0.26622
}

Semantic roles & 50–950 ramp

primary
#D156F2
secondary
#C2EDB7
accent
#E20332
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D156F2

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

Preview Lab → · Contrast checker → · Palette generator →

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