#E782DF#E782DF

#E782DF is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.7% C 0.168 H 330.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#E782DF
RGBrgb(231, 130, 223)
HSLhsl(305, 68%, 71%)
HSVhsv(305, 44%, 91%)
CMYKcmyk(0%, 43.7%, 3.5%, 9.4%)
CIE-LABlab(68.23, 51.71, -30.88)
CIE-LCHlch(68.23, 60.23, 329.16°)
OKLaboklab(74.72% 0.1458 -0.084)
OKLCHoklch(74.72% 0.168 330)
XYZxyz(54.2563, 38.2848, 74.3296)
Luminance0.3828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E782DF #82E78A
analogous
#BC82E7 #E782DF #E782AC
triadic
#E782DF #DFE782 #82DFE7
tetradic
#E782DF #E7BC82 #82E78A #82ACE7
square
#E782DF #E7BC82 #82E78A #82ACE7
split-complementary
#E782DF #ACE782 #82E7BC
monochromatic
#C826BB #DD4FD2 #E782DF #F1B5EC #FAE5F8

Accessibility & contrast

On white

2.43
#E782DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#E782DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E782DF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E782DF#FFFFFF#000000##000000
##E782DF1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9EE2
Deuteranopia (green-blind)
#99ABDC
Tritanopia (blue-blind)
#EE8AA6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e782df;
/* rgb */ color: rgb(231, 130, 223);
/* oklch */ color: oklch(74.7% 0.168 330.0);
Tailwind
colors: {
  custom: {
    50: '#f0a9e9',
    500: '#e782df',
    950: '#000000',
  },
}
SCSS
$custom: #e782df;
$custom-light: #f0a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e782df",
  "rgb": {
    "r": 231,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 304.752,
    "s": 67.785,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74716,
    "c": 0.1683,
    "h": 330
  },
  "luminance": 0.38282
}

Semantic roles & 50–950 ramp

primary
#E782DF
secondary
#D5F0D7
accent
#D02516
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #E782DF

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

Preview Lab → · Contrast checker → · Palette generator →

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