#D783EA#D783EA

#D783EA is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.5% C 0.168 H 320.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#D783EA
RGBrgb(215, 131, 234)
HSLhsl(289, 71%, 72%)
HSVhsv(289, 44%, 92%)
CMYKcmyk(8.1%, 44%, 0%, 8.2%)
CIE-LABlab(66.99, 48.55, -39.03)
CIE-LCHlch(66.99, 62.29, 321.21°)
OKLaboklab(73.53% 0.1284 -0.1076)
OKLCHoklch(73.53% 0.168 320)
XYZxyz(50.9901, 36.6220, 82.2087)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D783EA #96EA83
analogous
#A483EA #D783EA #EA83CA
triadic
#D783EA #EAD783 #83EAD7
tetradic
#D783EA #EAA483 #96EA83 #83CAEA
square
#D783EA #EAA483 #96EA83 #83CAEA
split-complementary
#D783EA #CAEA83 #83EAA4
monochromatic
#B023CF #C64FE1 #D783EA #E8B7F3 #F7E5FB

Accessibility & contrast

On white

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

On black

8.32
#D783EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D783EA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D783EA#FFFFFF#000000##000000
##D783EA1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEE
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#D890AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d783ea;
/* rgb */ color: rgb(215, 131, 234);
/* oklch */ color: oklch(73.5% 0.168 320.0);
Tailwind
colors: {
  custom: {
    50: '#e5a9f1',
    500: '#d783ea',
    950: '#000000',
  },
}
SCSS
$custom: #d783ea;
$custom-light: #e5a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d783ea",
  "rgb": {
    "r": 215,
    "g": 131,
    "b": 234
  },
  "hsl": {
    "h": 288.932,
    "s": 71.034,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73533,
    "c": 0.1675,
    "h": 320
  },
  "luminance": 0.3662
}

Semantic roles & 50–950 ramp

primary
#D783EA
secondary
#DCF2D7
accent
#D31236
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D783EA

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

Preview Lab → · Contrast checker → · Palette generator →

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