#D783EB#D783EB

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

Color values

HEX#D783EB
RGBrgb(215, 131, 235)
HSLhsl(288, 72%, 72%)
HSVhsv(288, 44%, 92%)
CMYKcmyk(8.5%, 44.3%, 0%, 7.8%)
CIE-LABlab(67.04, 48.74, -39.51)
CIE-LCHlch(67.04, 62.74, 320.97°)
OKLaboklab(73.58% 0.1286 -0.109)
OKLCHoklch(73.58% 0.169 319.7)
XYZxyz(51.1341, 36.6796, 82.9675)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783EB #97EB83
analogous
#A383EB #D783EB #EB83CB
triadic
#D783EB #EBD783 #83EBD7
tetradic
#D783EB #EBA383 #97EB83 #83CBEB
square
#D783EB #EBA383 #97EB83 #83CBEB
split-complementary
#D783EB #CBEB83 #83EBA3
monochromatic
#B022D2 #C64EE2 #D783EB #E8B8F4 #F7E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D783EB#FFFFFF#000000##000000
##D783EB1.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)
#739DEF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#D890AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d783eb;
/* rgb */ color: rgb(215, 131, 235);
/* oklch */ color: oklch(73.6% 0.169 319.7);
Tailwind
colors: {
  custom: {
    50: '#e5a9f2',
    500: '#d783eb',
    950: '#000000',
  },
}
SCSS
$custom: #d783eb;
$custom-light: #e5a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d783eb",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 235
  },
  "hsl": {
    "h": 288.462,
    "s": 72.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7358,
    "c": 0.16853,
    "h": 319.7
  },
  "luminance": 0.36678
}

Semantic roles & 50–950 ramp

primary
#D783EB
secondary
#DDF2D8
accent
#D41137
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D783EB

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

Preview Lab → · Contrast checker → · Palette generator →

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