#D786DD#D786DD

#D786DD is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.4% C 0.149 H 324.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#D786DD
RGBrgb(215, 134, 221)
HSLhsl(296, 56%, 70%)
HSVhsv(296, 39%, 87%)
CMYKcmyk(2.7%, 39.4%, 0%, 13.3%)
CIE-LABlab(67.07, 44.50, -31.72)
CIE-LCHlch(67.07, 54.65, 324.52°)
OKLaboklab(73.41% 0.1216 -0.0867)
OKLCHoklch(73.41% 0.149 324.5)
XYZxyz(49.5993, 36.7197, 72.8676)
Luminance0.3672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786DD #8CDD86
analogous
#AC86DD #D786DD #DD86B8
triadic
#D786DD #DDD786 #86DDD7
tetradic
#D786DD #DDAC86 #8CDD86 #86B8DD
square
#D786DD #DDAC86 #8CDD86 #86B8DD
split-complementary
#D786DD #B8DD86 #86DDAC
monochromatic
#AD33B6 #C756D0 #D786DD #E7B6EA #F7E6F8

Accessibility & contrast

On white

2.52
#D786DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#D786DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786DD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786DD#FFFFFF#000000##000000
##D786DD1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE0
Deuteranopia (green-blind)
#93A7DA
Tritanopia (blue-blind)
#DB8FA7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d786dd;
/* rgb */ color: rgb(215, 134, 221);
/* oklch */ color: oklch(73.4% 0.149 324.5);
Tailwind
colors: {
  custom: {
    50: '#e5abe8',
    500: '#d786dd',
    950: '#000000',
  },
}
SCSS
$custom: #d786dd;
$custom-light: #e5abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#d786dd",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 221
  },
  "hsl": {
    "h": 295.862,
    "s": 56.129,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7341,
    "c": 0.14934,
    "h": 324.5
  },
  "luminance": 0.36718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D786DD

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

Preview Lab → · Contrast checker → · Palette generator →

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