#D786FD#D786FD

#D786FD is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.9% C 0.183 H 314.1°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#D786FD
RGBrgb(215, 134, 253)
HSLhsl(281, 97%, 76%)
HSVhsv(281, 47%, 99%)
CMYKcmyk(15%, 47%, 0%, 0.8%)
CIE-LABlab(68.45, 50.80, -47.16)
CIE-LCHlch(68.45, 69.31, 317.12°)
OKLaboklab(74.9% 0.1271 -0.1311)
OKLCHoklch(74.9% 0.183 314.1)
XYZxyz(54.2762, 38.5905, 97.4990)
Luminance0.3859 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786FD #ACFD86
analogous
#9B86FD #D786FD #FD86E8
triadic
#D786FD #FDD786 #86FDD7
tetradic
#D786FD #FD9B86 #ACFD86 #86E8FD
square
#D786FD #FD9B86 #ACFD86 #86E8FD
split-complementary
#D786FD #E8FD86 #86FD9B
monochromatic
#AF0EFB #C34AFC #D786FD #EBC2FE #F5E1FF

Accessibility & contrast

On white

2.41
#D786FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#D786FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786FD
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786FD#FFFFFF#000000##000000
##D786FD1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#D498B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d786fd;
/* rgb */ color: rgb(215, 134, 253);
/* oklch */ color: oklch(74.9% 0.183 314.1);
Tailwind
colors: {
  custom: {
    50: '#e5abfe',
    500: '#d786fd',
    950: '#000000',
  },
}
SCSS
$custom: #d786fd;
$custom-light: #e5abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d786fd",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 280.84,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74901,
    "c": 0.18261,
    "h": 314.1
  },
  "luminance": 0.38589
}

Semantic roles & 50–950 ramp

primary
#D786FD
secondary
#DFF7D4
accent
#E60049
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D786FD

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

Preview Lab → · Contrast checker → · Palette generator →

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