#D786DE#D786DE

#D786DE is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.5% C 0.150 H 324.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#D786DE
RGBrgb(215, 134, 222)
HSLhsl(295, 57%, 70%)
HSVhsv(295, 40%, 87%)
CMYKcmyk(3.2%, 39.6%, 0%, 12.9%)
CIE-LABlab(67.11, 44.69, -32.21)
CIE-LCHlch(67.11, 55.09, 324.21°)
OKLaboklab(73.45% 0.1218 -0.0881)
OKLCHoklch(73.45% 0.15 324.1)
XYZxyz(49.7329, 36.7732, 73.5713)
Luminance0.3677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786DE #8DDE86
analogous
#AB86DE #D786DE #DE86B9
triadic
#D786DE #DED786 #86DED7
tetradic
#D786DE #DEAB86 #8DDE86 #86B9DE
square
#D786DE #DEAB86 #8DDE86 #86B9DE
split-complementary
#D786DE #B9DE86 #86DEAB
monochromatic
#AD32B8 #C756D1 #D786DE #E7B6EB #F7E6F8

Accessibility & contrast

On white

2.51
#D786DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#D786DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786DE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786DE#FFFFFF#000000##000000
##D786DE1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE1
Deuteranopia (green-blind)
#92A7DB
Tritanopia (blue-blind)
#DA8FA8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d786de;
/* rgb */ color: rgb(215, 134, 222);
/* oklch */ color: oklch(73.5% 0.150 324.1);
Tailwind
colors: {
  custom: {
    50: '#e5abe8',
    500: '#d786de',
    950: '#000000',
  },
}
SCSS
$custom: #d786de;
$custom-light: #e5abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#d786de",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 222
  },
  "hsl": {
    "h": 295.227,
    "s": 57.143,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73453,
    "c": 0.15033,
    "h": 324.1
  },
  "luminance": 0.36771
}

Semantic roles & 50–950 ramp

primary
#D786DE
secondary
#D5ECD3
accent
#C5212E
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D786DE

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

Preview Lab → · Contrast checker → · Palette generator →

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