#E780F2#E780F2

#E780F2 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.3% C 0.189 H 323.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#E780F2
RGBrgb(231, 128, 242)
HSLhsl(294, 81%, 73%)
HSVhsv(294, 47%, 95%)
CMYKcmyk(4.5%, 47.1%, 0%, 5.1%)
CIE-LABlab(68.64, 56.10, -40.72)
CIE-LCHlch(68.64, 69.32, 324.02°)
OKLaboklab(75.28% 0.1521 -0.1121)
OKLCHoklch(75.28% 0.189 323.6)
XYZxyz(56.6996, 38.8406, 88.4976)
Luminance0.3884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E780F2 #8BF280
analogous
#AE80F2 #E780F2 #F280C4
triadic
#E780F2 #F2E780 #80F2E7
tetradic
#E780F2 #F2AE80 #8BF280 #80C4F2
square
#E780F2 #F2AE80 #8BF280 #80C4F2
split-complementary
#E780F2 #C4F280 #80F2AE
monochromatic
#CD17E1 #DD48EC #E780F2 #F1B8F8 #FAE3FC

Accessibility & contrast

On white

2.40
#E780F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#E780F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E780F2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E780F2#FFFFFF#000000##000000
##E780F21.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#EB8EAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e780f2;
/* rgb */ color: rgb(231, 128, 242);
/* oklch */ color: oklch(75.3% 0.189 323.6);
Tailwind
colors: {
  custom: {
    50: '#f1a8f6',
    500: '#e780f2',
    950: '#000000',
  },
}
SCSS
$custom: #e780f2;
$custom-light: #f1a8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e780f2",
  "rgb": {
    "r": 231,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 294.211,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75277,
    "c": 0.18892,
    "h": 323.6
  },
  "luminance": 0.38838
}

Semantic roles & 50–950 ramp

primary
#E780F2
secondary
#DAF4D7
accent
#DE081C
background
#FFFAFF
surface
#FEF4FE
border
#D6CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E780F2

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

Preview Lab → · Contrast checker → · Palette generator →

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