#E780EC#E780EC

#E780EC is a light, vivid purple. Relative luminance 0.385; OKLCH L 75.0% C 0.183 H 325.5°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#E780EC
RGBrgb(231, 128, 236)
HSLhsl(297, 74%, 71%)
HSVhsv(297, 46%, 93%)
CMYKcmyk(2.1%, 45.8%, 0%, 7.5%)
CIE-LABlab(68.38, 55.00, -37.83)
CIE-LCHlch(68.38, 66.76, 325.48°)
OKLaboklab(75% 0.1511 -0.1038)
OKLCHoklch(75% 0.183 325.5)
XYZxyz(55.8132, 38.4861, 83.8293)
Luminance0.3848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E780EC #85EC80
analogous
#B180EC #E780EC #EC80BB
triadic
#E780EC #ECE780 #80ECE7
tetradic
#E780EC #ECB180 #85EC80 #80BBEC
square
#E780EC #ECB180 #85EC80 #80BBEC
split-complementary
#E780EC #BBEC80 #80ECB1
monochromatic
#CA1FD2 #DD4BE4 #E780EC #F1B5F4 #FAE4FB

Accessibility & contrast

On white

2.41
#E780EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#E780EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E780EC
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E780EC#FFFFFF#000000##000000
##E780EC1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#92ABE9
Tritanopia (blue-blind)
#EC8CAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e780ec;
/* rgb */ color: rgb(231, 128, 236);
/* oklch */ color: oklch(75.0% 0.183 325.5);
Tailwind
colors: {
  custom: {
    50: '#f1a8f2',
    500: '#e780ec',
    950: '#000000',
  },
}
SCSS
$custom: #e780ec;
$custom-light: #f1a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e780ec",
  "rgb": {
    "r": 231,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 297.222,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75001,
    "c": 0.18331,
    "h": 325.5
  },
  "luminance": 0.38483
}

Semantic roles & 50–950 ramp

primary
#E780EC
secondary
#D7F2D6
accent
#D60F19
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #E780EC

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

Preview Lab → · Contrast checker → · Palette generator →

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