#E794FB#E794FB

#E794FB is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.6% C 0.165 H 319.7°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#E794FB
RGBrgb(231, 148, 251)
HSLhsl(288, 93%, 78%)
HSVhsv(288, 41%, 98%)
CMYKcmyk(8%, 41%, 0%, 1.6%)
CIE-LABlab(72.98, 47.64, -38.86)
CIE-LCHlch(72.98, 61.48, 320.80°)
OKLaboklab(78.64% 0.1259 -0.1069)
OKLCHoklch(78.64% 0.165 319.7)
XYZxyz(60.9553, 45.1358, 96.7492)
Luminance0.4513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E794FB #A8FB94
analogous
#B394FB #E794FB #FB94DB
triadic
#E794FB #FBE794 #94FBE7
tetradic
#E794FB #FBB394 #A8FB94 #94DBFB
square
#E794FB #FBB394 #A8FB94 #94DBFB
split-complementary
#E794FB #DBFB94 #94FBB3
monochromatic
#CD1EF7 #DA59F9 #E794FB #F4CFFD #F8E2FE

Accessibility & contrast

On white

2.09
#E794FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#E794FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E794FB
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E794FB#FFFFFF#000000##000000
##E794FB1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#E8A1BC
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e794fb;
/* rgb */ color: rgb(231, 148, 251);
/* oklch */ color: oklch(78.6% 0.165 319.7);
Tailwind
colors: {
  custom: {
    50: '#f0b5fd',
    500: '#e794fb',
    950: '#000000',
  },
}
SCSS
$custom: #e794fb;
$custom-light: #f0b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e794fb",
  "rgb": {
    "r": 231,
    "g": 148,
    "b": 251
  },
  "hsl": {
    "h": 288.35,
    "s": 92.793,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78644,
    "c": 0.16515,
    "h": 319.7
  },
  "luminance": 0.45134
}

Semantic roles & 50–950 ramp

primary
#E794FB
secondary
#DBF6D5
accent
#E6002D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E794FB

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

Preview Lab → · Contrast checker → · Palette generator →

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