#D156F3#D156F3

#D156F3 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.4% C 0.240 H 318.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#D156F3
RGBrgb(209, 86, 243)
HSLhsl(287, 87%, 65%)
HSVhsv(287, 65%, 95%)
CMYKcmyk(14%, 64.6%, 0%, 4.7%)
CIE-LABlab(58.68, 70.09, -57.19)
CIE-LCHlch(58.68, 90.46, 320.78°)
OKLaboklab(67.42% 0.1792 -0.1602)
OKLCHoklch(67.42% 0.24 318.2)
XYZxyz(45.7977, 26.6839, 87.5148)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D156F3 #78F356
analogous
#8256F3 #D156F3 #F356C7
triadic
#D156F3 #F3D156 #56F3D1
tetradic
#D156F3 #F38256 #78F356 #56C7F3
square
#D156F3 #F38256 #78F356 #56C7F3
split-complementary
#D156F3 #C7F356 #56F382
monochromatic
#9A0EC1 #C11DEF #D156F3 #E18FF7 #F0C8FB

Accessibility & contrast

On white

3.31
#D156F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#D156F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D156F3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D156F3#FFFFFF#000000##000000
##D156F31.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F8
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#D0729E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d156f3;
/* rgb */ color: rgb(209, 86, 243);
/* oklch */ color: oklch(67.4% 0.240 318.2);
Tailwind
colors: {
  custom: {
    50: '#e38ef8',
    500: '#d156f3',
    950: '#000000',
  },
}
SCSS
$custom: #d156f3;
$custom-light: #e38ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#d156f3",
  "rgb": {
    "r": 209,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 287.006,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67416,
    "c": 0.24033,
    "h": 318.2
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

primary
#D156F3
secondary
#C3EDB7
accent
#E30233
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #D156F3

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

Preview Lab → · Contrast checker → · Palette generator →

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