#D783EE#D783EE

#D783EE is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.7% C 0.172 H 318.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D783EE
RGBrgb(215, 131, 238)
HSLhsl(287, 76%, 72%)
HSVhsv(287, 45%, 93%)
CMYKcmyk(9.7%, 45%, 0%, 6.7%)
CIE-LABlab(67.17, 49.33, -40.96)
CIE-LCHlch(67.17, 64.12, 320.30°)
OKLaboklab(73.72% 0.1291 -0.1131)
OKLCHoklch(73.72% 0.172 318.8)
XYZxyz(51.5712, 36.8545, 85.2694)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783EE #9AEE83
analogous
#A283EE #D783EE #EE83CF
triadic
#D783EE #EED783 #83EED7
tetradic
#D783EE #EEA283 #9AEE83 #83CFEE
square
#D783EE #EEA283 #9AEE83 #83CFEE
split-complementary
#D783EE #CFEE83 #83EEA2
monochromatic
#B11ED9 #C64DE7 #D783EE #E8B9F5 #F6E4FB

Accessibility & contrast

On white

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

On black

8.37
#D783EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D783EE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D783EE#FFFFFF#000000##000000
##D783EE1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#729EF2
Deuteranopia (green-blind)
#89A6EB
Tritanopia (blue-blind)
#D791AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d783ee;
/* rgb */ color: rgb(215, 131, 238);
/* oklch */ color: oklch(73.7% 0.172 318.8);
Tailwind
colors: {
  custom: {
    50: '#e5a9f4',
    500: '#d783ee',
    950: '#000000',
  },
}
SCSS
$custom: #d783ee;
$custom-light: #e5a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d783ee",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 238
  },
  "hsl": {
    "h": 287.103,
    "s": 75.887,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73721,
    "c": 0.17163,
    "h": 318.8
  },
  "luminance": 0.36853
}

Semantic roles & 50–950 ramp

primary
#D783EE
secondary
#DEF3D8
accent
#D80D39
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D783EE

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

Preview Lab → · Contrast checker → · Palette generator →

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