#D786FF#D786FF

#D786FF is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.0% C 0.185 H 313.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#D786FF
RGBrgb(215, 134, 255)
HSLhsl(280, 100%, 76%)
HSVhsv(280, 47%, 100%)
CMYKcmyk(15.7%, 47.5%, 0%, 0%)
CIE-LABlab(68.55, 51.21, -48.11)
CIE-LCHlch(68.55, 70.26, 316.79°)
OKLaboklab(75% 0.1274 -0.1338)
OKLCHoklch(75% 0.185 313.6)
XYZxyz(54.5964, 38.7186, 99.1857)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786FF #AEFF86
analogous
#9B86FF #D786FF #FF86EB
triadic
#D786FF #FFD786 #86FFD7
tetradic
#D786FF #FF9B86 #AEFF86 #86EBFF
square
#D786FF #FF9B86 #AEFF86 #86EBFF
split-complementary
#D786FF #EBFF86 #86FF9B
monochromatic
#AF0CFF #C349FF #D786FF #EBC3FF #F5E0FF

Accessibility & contrast

On white

2.40
#D786FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#D786FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786FF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786FF#FFFFFF#000000##000000
##D786FF1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#83A9FC
Tritanopia (blue-blind)
#D498B7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d786ff;
/* rgb */ color: rgb(215, 134, 255);
/* oklch */ color: oklch(75.0% 0.185 313.6);
Tailwind
colors: {
  custom: {
    50: '#e5abff',
    500: '#d786ff',
    950: '#000000',
  },
}
SCSS
$custom: #d786ff;
$custom-light: #e5abff;
$custom-dark: #000000;
JSON
{
  "hex": "#d786ff",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 255
  },
  "hsl": {
    "h": 280.165,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75001,
    "c": 0.18477,
    "h": 313.6
  },
  "luminance": 0.38717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D786FF

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

Preview Lab → · Contrast checker → · Palette generator →

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