#D783DB#D783DB

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

Color values

HEX#D783DB
RGBrgb(215, 131, 219)
HSLhsl(297, 55%, 69%)
HSVhsv(297, 40%, 86%)
CMYKcmyk(1.8%, 40.2%, 0%, 14.1%)
CIE-LABlab(66.36, 45.70, -31.70)
CIE-LCHlch(66.36, 55.62, 325.25°)
OKLaboklab(72.86% 0.1255 -0.0866)
OKLCHoklch(72.86% 0.153 325.4)
XYZxyz(48.9257, 35.7962, 71.3363)
Luminance0.3579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783DB #87DB83
analogous
#AB83DB #D783DB #DB83B3
triadic
#D783DB #DBD783 #83DBD7
tetradic
#D783DB #DBAB83 #87DB83 #83B3DB
square
#D783DB #DBAB83 #87DB83 #83B3DB
split-complementary
#D783DB #B3DB83 #83DBAB
monochromatic
#AB33B0 #C854CD #D783DB #E6B2E9 #F6E2F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D783DB#FFFFFF#000000##000000
##D783DB1.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)
#7B9BDE
Deuteranopia (green-blind)
#91A5D8
Tritanopia (blue-blind)
#DB8CA5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d783db;
/* rgb */ color: rgb(215, 131, 219);
/* oklch */ color: oklch(72.9% 0.152 325.4);
Tailwind
colors: {
  custom: {
    50: '#e5a9e6',
    500: '#d783db',
    950: '#000000',
  },
}
SCSS
$custom: #d783db;
$custom-light: #e5a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d783db",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 219
  },
  "hsl": {
    "h": 297.273,
    "s": 55,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72856,
    "c": 0.1525,
    "h": 325.4
  },
  "luminance": 0.35794
}

Semantic roles & 50–950 ramp

primary
#D783DB
secondary
#D1EAD0
accent
#C3232A
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D783DB

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

Preview Lab → · Contrast checker → · Palette generator →

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