#E794F8#E794F8

#E794F8 is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.5% C 0.162 H 320.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#E794F8
RGBrgb(231, 148, 248)
HSLhsl(290, 88%, 78%)
HSVhsv(290, 40%, 97%)
CMYKcmyk(6.9%, 40.3%, 0%, 2.7%)
CIE-LABlab(72.86, 47.07, -37.42)
CIE-LCHlch(72.86, 60.13, 321.51°)
OKLaboklab(78.51% 0.1253 -0.1028)
OKLCHoklch(78.51% 0.162 320.6)
XYZxyz(60.4861, 44.9481, 94.2784)
Luminance0.4495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E794F8 #A5F894
analogous
#B594F8 #E794F8 #F894D7
triadic
#E794F8 #F8E794 #94F8E7
tetradic
#E794F8 #F8B594 #A5F894 #94D7F8
square
#E794F8 #F8B594 #A5F894 #94D7F8
split-complementary
#E794F8 #D7F894 #94F8B5
monochromatic
#CD21F0 #DA5BF4 #E794F8 #F4CDFC #F9E2FD

Accessibility & contrast

On white

2.10
#E794F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#E794F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E794F8
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E794F8#FFFFFF#000000##000000
##E794F81.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFC
Deuteranopia (green-blind)
#9CB6F5
Tritanopia (blue-blind)
#E9A0BA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e794f8;
/* rgb */ color: rgb(231, 148, 248);
/* oklch */ color: oklch(78.5% 0.162 320.6);
Tailwind
colors: {
  custom: {
    50: '#f0b5fb',
    500: '#e794f8',
    950: '#000000',
  },
}
SCSS
$custom: #e794f8;
$custom-light: #f0b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e794f8",
  "rgb": {
    "r": 231,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 289.8,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78511,
    "c": 0.16206,
    "h": 320.6
  },
  "luminance": 0.44946
}

Semantic roles & 50–950 ramp

primary
#E794F8
secondary
#DBF5D6
accent
#E40128
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E794F8

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

Preview Lab → · Contrast checker → · Palette generator →

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