#D782EA#D782EA

#D782EA is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.4% C 0.169 H 320.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#D782EA
RGBrgb(215, 130, 234)
HSLhsl(289, 71%, 71%)
HSVhsv(289, 44%, 92%)
CMYKcmyk(8.1%, 44.4%, 0%, 8.2%)
CIE-LABlab(66.79, 49.06, -39.34)
CIE-LCHlch(66.79, 62.89, 321.28°)
OKLaboklab(73.38% 0.1298 -0.1085)
OKLCHoklch(73.38% 0.169 320.1)
XYZxyz(50.8564, 36.3547, 82.1642)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D782EA #95EA82
analogous
#A382EA #D782EA #EA82C9
triadic
#D782EA #EAD782 #82EAD7
tetradic
#D782EA #EAA382 #95EA82 #82C9EA
square
#D782EA #EAA382 #95EA82 #82C9EA
split-complementary
#D782EA #C9EA82 #82EAA3
monochromatic
#AF23CF #C64EE1 #D782EA #E8B6F3 #F7E5FB

Accessibility & contrast

On white

2.54
#D782EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#D782EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D782EA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D782EA#FFFFFF#000000##000000
##D782EA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#8AA6E7
Tritanopia (blue-blind)
#D88FAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d782ea;
/* rgb */ color: rgb(215, 130, 234);
/* oklch */ color: oklch(73.4% 0.169 320.1);
Tailwind
colors: {
  custom: {
    50: '#e5a8f1',
    500: '#d782ea',
    950: '#000000',
  },
}
SCSS
$custom: #d782ea;
$custom-light: #e5a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d782ea",
  "rgb": {
    "r": 215,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 289.038,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73382,
    "c": 0.16916,
    "h": 320.1
  },
  "luminance": 0.36353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D782EA

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

Preview Lab → · Contrast checker → · Palette generator →

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