#D787DB#D787DB

#D787DB is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.5% C 0.146 H 325.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#D787DB
RGBrgb(215, 135, 219)
HSLhsl(297, 54%, 69%)
HSVhsv(297, 38%, 86%)
CMYKcmyk(1.8%, 38.4%, 0%, 14.1%)
CIE-LABlab(67.20, 43.60, -30.41)
CIE-LCHlch(67.20, 53.16, 325.10°)
OKLaboklab(73.48% 0.1197 -0.083)
OKLCHoklch(73.48% 0.146 325.2)
XYZxyz(49.4733, 36.8915, 71.5189)
Luminance0.3689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D787DB #8BDB87
analogous
#AD87DB #D787DB #DB87B5
triadic
#D787DB #DBD787 #87DBD7
tetradic
#D787DB #DBAD87 #8BDB87 #87B5DB
square
#D787DB #DBAD87 #8BDB87 #87B5DB
split-complementary
#D787DB #B5DB87 #87DBAD
monochromatic
#AC35B2 #C758CD #D787DB #E7B6E9 #F6E5F7

Accessibility & contrast

On white

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

On black

8.38
#D787DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D787DB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D787DB#FFFFFF#000000##000000
##D787DB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDE
Deuteranopia (green-blind)
#94A7D8
Tritanopia (blue-blind)
#DB90A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d787db;
/* rgb */ color: rgb(215, 135, 219);
/* oklch */ color: oklch(73.5% 0.146 325.2);
Tailwind
colors: {
  custom: {
    50: '#e5abe6',
    500: '#d787db',
    950: '#000000',
  },
}
SCSS
$custom: #d787db;
$custom-light: #e5abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#d787db",
  "rgb": {
    "r": 215,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 297.143,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73481,
    "c": 0.14565,
    "h": 325.2
  },
  "luminance": 0.36889
}

Semantic roles & 50–950 ramp

primary
#D787DB
secondary
#D4EBD3
accent
#C1242C
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D787DB

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

Preview Lab → · Contrast checker → · Palette generator →

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