#E782FC#E782FC

#E782FC is a light, vivid purple. Relative luminance 0.400; OKLCH L 76.0% C 0.195 H 320.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#E782FC
RGBrgb(231, 130, 252)
HSLhsl(290, 95%, 75%)
HSVhsv(290, 48%, 99%)
CMYKcmyk(8.3%, 48.4%, 0%, 1.2%)
CIE-LABlab(69.46, 56.97, -44.91)
CIE-LCHlch(69.46, 72.54, 321.75°)
OKLaboklab(76.03% 0.1508 -0.1242)
OKLCHoklch(76.03% 0.195 320.5)
XYZxyz(58.5062, 39.9848, 96.7126)
Luminance0.3998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E782FC #97FC82
analogous
#AA82FC #E782FC #FC82D4
triadic
#E782FC #FCE782 #82FCE7
tetradic
#E782FC #FCAA82 #97FC82 #82D4FC
square
#E782FC #FCAA82 #97FC82 #82D4FC
split-complementary
#E782FC #D4FC82 #82FCAA
monochromatic
#D00AF9 #DC46FB #E782FC #F2BEFD #F9E1FE

Accessibility & contrast

On white

2.33
#E782FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#E782FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E782FC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E782FC#FFFFFF#000000##000000
##E782FC1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#8CADF9
Tritanopia (blue-blind)
#E992B4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #e782fc;
/* rgb */ color: rgb(231, 130, 252);
/* oklch */ color: oklch(76.0% 0.195 320.5);
Tailwind
colors: {
  custom: {
    50: '#f1a9fe',
    500: '#e782fc',
    950: '#000000',
  },
}
SCSS
$custom: #e782fc;
$custom-light: #f1a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e782fc",
  "rgb": {
    "r": 231,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 289.672,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76032,
    "c": 0.19535,
    "h": 320.5
  },
  "luminance": 0.39982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E782FC

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

Preview Lab → · Contrast checker → · Palette generator →

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