#D783EF#D783EF

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

Color values

HEX#D783EF
RGBrgb(215, 131, 239)
HSLhsl(287, 77%, 73%)
HSVhsv(287, 45%, 94%)
CMYKcmyk(10%, 45.2%, 0%, 6.3%)
CIE-LABlab(67.21, 49.53, -41.44)
CIE-LCHlch(67.21, 64.58, 320.08°)
OKLaboklab(73.77% 0.1292 -0.1145)
OKLCHoklch(73.77% 0.173 318.4)
XYZxyz(51.7185, 36.9134, 86.0453)
Luminance0.3691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783EF #9BEF83
analogous
#A183EF #D783EF #EF83D1
triadic
#D783EF #EFD783 #83EFD7
tetradic
#D783EF #EFA183 #9BEF83 #83D1EF
square
#D783EF #EFA183 #9BEF83 #83D1EF
split-complementary
#D783EF #D1EF83 #83EFA1
monochromatic
#B11CDB #C64DE8 #D783EF #E8B9F6 #F6E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D783EF#FFFFFF#000000##000000
##D783EF1.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)
#719EF3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#D792AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d783ef;
/* rgb */ color: rgb(215, 131, 239);
/* oklch */ color: oklch(73.8% 0.173 318.4);
Tailwind
colors: {
  custom: {
    50: '#e5a9f4',
    500: '#d783ef',
    950: '#000000',
  },
}
SCSS
$custom: #d783ef;
$custom-light: #e5a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d783ef",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 239
  },
  "hsl": {
    "h": 286.667,
    "s": 77.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73768,
    "c": 0.17266,
    "h": 318.4
  },
  "luminance": 0.36912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D783EF

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

Preview Lab → · Contrast checker → · Palette generator →

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