#E782DB#E782DB

#E782DB is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.5% C 0.165 H 331.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#E782DB
RGBrgb(231, 130, 219)
HSLhsl(307, 68%, 71%)
HSVhsv(307, 44%, 91%)
CMYKcmyk(0%, 43.7%, 5.2%, 9.4%)
CIE-LABlab(68.07, 51.02, -28.90)
CIE-LCHlch(68.07, 58.64, 330.47°)
OKLaboklab(74.55% 0.145 -0.0785)
OKLCHoklch(74.55% 0.165 331.6)
XYZxyz(53.7234, 38.0716, 71.5229)
Luminance0.3807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E782DB #82E78E
analogous
#C082E7 #E782DB #E782A8
triadic
#E782DB #DBE782 #82DBE7
tetradic
#E782DB #E7C082 #82E78E #82A8E7
square
#E782DB #E7C082 #82E78E #82A8E7
split-complementary
#E782DB #A8E782 #82E7C0
monochromatic
#C826B5 #DD4FCC #E782DB #F1B5EA #FAE5F8

Accessibility & contrast

On white

2.44
#E782DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#E782DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E782DB
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E782DB#FFFFFF#000000##000000
##E782DB1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDE
Deuteranopia (green-blind)
#9AABD8
Tritanopia (blue-blind)
#EF89A4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e782db;
/* rgb */ color: rgb(231, 130, 219);
/* oklch */ color: oklch(74.5% 0.165 331.6);
Tailwind
colors: {
  custom: {
    50: '#f0a9e6',
    500: '#e782db',
    950: '#000000',
  },
}
SCSS
$custom: #e782db;
$custom-light: #f0a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e782db",
  "rgb": {
    "r": 231,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 307.129,
    "s": 67.785,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74547,
    "c": 0.16482,
    "h": 331.6
  },
  "luminance": 0.38069
}

Semantic roles & 50–950 ramp

primary
#E782DB
secondary
#D5F0D8
accent
#D02C16
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E782DB

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

Preview Lab → · Contrast checker → · Palette generator →

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