#E780FC#E780FC

#E780FC is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.8% C 0.198 H 320.6°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#E780FC
RGBrgb(231, 128, 252)
HSLhsl(290, 95%, 75%)
HSVhsv(290, 49%, 99%)
CMYKcmyk(8.3%, 49.2%, 0%, 1.2%)
CIE-LABlab(69.08, 57.96, -45.50)
CIE-LCHlch(69.08, 73.69, 321.87°)
OKLaboklab(75.75% 0.1535 -0.1259)
OKLCHoklch(75.75% 0.198 320.6)
XYZxyz(58.2428, 39.4579, 96.6248)
Luminance0.3946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E780FC #95FC80
analogous
#A980FC #E780FC #FC80D3
triadic
#E780FC #FCE780 #80FCE7
tetradic
#E780FC #FCA980 #95FC80 #80D3FC
square
#E780FC #FCA980 #95FC80 #80D3FC
split-complementary
#E780FC #D3FC80 #80FCA9
monochromatic
#D008F9 #DC44FB #E780FC #F2BCFD #F9E1FE

Accessibility & contrast

On white

2.36
#E780FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#E780FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E780FC
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E780FC#FFFFFF#000000##000000
##E780FC1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#8BACF8
Tritanopia (blue-blind)
#E991B3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #e780fc;
/* rgb */ color: rgb(231, 128, 252);
/* oklch */ color: oklch(75.8% 0.198 320.6);
Tailwind
colors: {
  custom: {
    50: '#f1a8fe',
    500: '#e780fc',
    950: '#000000',
  },
}
SCSS
$custom: #e780fc;
$custom-light: #f1a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e780fc",
  "rgb": {
    "r": 231,
    "g": 128,
    "b": 252
  },
  "hsl": {
    "h": 289.839,
    "s": 95.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75753,
    "c": 0.19849,
    "h": 320.6
  },
  "luminance": 0.39456
}

Semantic roles & 50–950 ramp

primary
#E780FC
secondary
#DAF7D4
accent
#E60027
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E780FC

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

Preview Lab → · Contrast checker → · Palette generator →

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