#D786FB#D786FB

#D786FB is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.8% C 0.180 H 314.7°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#D786FB
RGBrgb(215, 134, 251)
HSLhsl(282, 94%, 75%)
HSVhsv(282, 47%, 98%)
CMYKcmyk(14.3%, 46.6%, 0%, 1.6%)
CIE-LABlab(68.36, 50.39, -46.22)
CIE-LCHlch(68.36, 68.37, 317.47°)
OKLaboklab(74.8% 0.1269 -0.1283)
OKLCHoklch(74.8% 0.18 314.7)
XYZxyz(53.9592, 38.4637, 95.8299)
Luminance0.3846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786FB #AAFB86
analogous
#9C86FB #D786FB #FB86E5
triadic
#D786FB #FBD786 #86FBD7
tetradic
#D786FB #FB9C86 #AAFB86 #86E5FB
square
#D786FB #FB9C86 #AAFB86 #86E5FB
split-complementary
#D786FB #E5FB86 #86FB9C
monochromatic
#B010F7 #C34BF9 #D786FB #EBC1FD #F5E1FE

Accessibility & contrast

On white

2.42
#D786FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#D786FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786FB
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786FB#FFFFFF#000000##000000
##D786FB1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#D597B5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d786fb;
/* rgb */ color: rgb(215, 134, 251);
/* oklch */ color: oklch(74.8% 0.180 314.7);
Tailwind
colors: {
  custom: {
    50: '#e5abfd',
    500: '#d786fb',
    950: '#000000',
  },
}
SCSS
$custom: #d786fb;
$custom-light: #e5abfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d786fb",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 281.538,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74802,
    "c": 0.18046,
    "h": 314.7
  },
  "luminance": 0.38462
}

Semantic roles & 50–950 ramp

primary
#D786FB
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D786FB

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

Preview Lab → · Contrast checker → · Palette generator →

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