#D787DD#D787DD

#D787DD is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.6% C 0.148 H 324.5°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D787DD
RGBrgb(215, 135, 221)
HSLhsl(296, 56%, 70%)
HSVhsv(296, 39%, 87%)
CMYKcmyk(2.7%, 38.9%, 0%, 13.3%)
CIE-LABlab(67.28, 43.98, -31.40)
CIE-LCHlch(67.28, 54.04, 324.47°)
OKLaboklab(73.57% 0.1201 -0.0858)
OKLCHoklch(73.57% 0.148 324.5)
XYZxyz(49.7382, 36.9975, 72.9138)
Luminance0.3700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D787DD #8DDD87
analogous
#AC87DD #D787DD #DD87B8
triadic
#D787DD #DDD787 #87DDD7
tetradic
#D787DD #DDAC87 #8DDD87 #87B8DD
square
#D787DD #DDAC87 #8DDD87 #87B8DD
split-complementary
#D787DD #B8DD87 #87DDAC
monochromatic
#AD34B6 #C757CF #D787DD #E7B7EB #F7E6F8

Accessibility & contrast

On white

2.50
#D787DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#D787DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D787DD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D787DD#FFFFFF#000000##000000
##D787DD1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9EE0
Deuteranopia (green-blind)
#93A7DA
Tritanopia (blue-blind)
#DB90A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d787dd;
/* rgb */ color: rgb(215, 135, 221);
/* oklch */ color: oklch(73.6% 0.148 324.5);
Tailwind
colors: {
  custom: {
    50: '#e5abe8',
    500: '#d787dd',
    950: '#000000',
  },
}
SCSS
$custom: #d787dd;
$custom-light: #e5abe8;
$custom-dark: #000000;
JSON
{
  "hex": "#d787dd",
  "rgb": {
    "r": 215,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 295.814,
    "s": 55.844,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73567,
    "c": 0.14763,
    "h": 324.5
  },
  "luminance": 0.36995
}

Semantic roles & 50–950 ramp

primary
#D787DD
secondary
#D5ECD4
accent
#C3222D
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D787DD

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

Preview Lab → · Contrast checker → · Palette generator →

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