#D786CB#D786CB

#D786CB is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.7% C 0.132 H 332.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D786CB
RGBrgb(215, 134, 203)
HSLhsl(309, 50%, 68%)
HSVhsv(309, 38%, 84%)
CMYKcmyk(0%, 37.7%, 5.6%, 15.7%)
CIE-LABlab(66.38, 41.24, -22.76)
CIE-LCHlch(66.38, 47.11, 331.10°)
OKLaboklab(72.66% 0.1173 -0.0614)
OKLCHoklch(72.66% 0.132 332.3)
XYZxyz(47.3285, 35.8114, 60.9077)
Luminance0.3581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D786CB #86D792
analogous
#BA86D7 #D786CB #D786A2
triadic
#D786CB #CBD786 #86CBD7
tetradic
#D786CB #D7BA86 #86D792 #86A2D7
square
#D786CB #D7BA86 #86D792 #86A2D7
split-complementary
#D786CB #A2D786 #86D7BA
monochromatic
#AA3899 #C858B7 #D786CB #E6B4DF #F5E2F3

Accessibility & contrast

On white

2.57
#D786CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#D786CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D786CB
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D786CB#FFFFFF#000000##000000
##D786CB1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACE
Deuteranopia (green-blind)
#99A6C8
Tritanopia (blue-blind)
#DE8BA0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d786cb;
/* rgb */ color: rgb(215, 134, 203);
/* oklch */ color: oklch(72.7% 0.132 332.3);
Tailwind
colors: {
  custom: {
    50: '#e4abdb',
    500: '#d786cb',
    950: '#000000',
  },
}
SCSS
$custom: #d786cb;
$custom-light: #e4abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d786cb",
  "rgb": {
    "r": 215,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 308.889,
    "s": 50.311,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72663,
    "c": 0.13239,
    "h": 332.3
  },
  "luminance": 0.35809
}

Semantic roles & 50–950 ramp

primary
#D786CB
secondary
#D0E9D4
accent
#BE3E28
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D786CB

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

Preview Lab → · Contrast checker → · Palette generator →

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