#E792FE#E792FE

#E792FE is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.5% C 0.172 H 318.9°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#E792FE
RGBrgb(231, 146, 254)
HSLhsl(287, 98%, 78%)
HSVhsv(287, 43%, 100%)
CMYKcmyk(9.1%, 42.5%, 0%, 0.4%)
CIE-LABlab(72.70, 49.26, -40.93)
CIE-LCHlch(72.70, 64.05, 320.27°)
OKLaboklab(78.47% 0.1292 -0.1128)
OKLCHoklch(78.47% 0.172 318.9)
XYZxyz(61.1209, 44.7044, 99.1559)
Luminance0.4470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E792FE #A9FE92
analogous
#B192FE #E792FE #FE92DF
triadic
#E792FE #FEE792 #92FEE7
tetradic
#E792FE #FEB192 #A9FE92 #92DFFE
square
#E792FE #FEB192 #A9FE92 #92DFFE
split-complementary
#E792FE #DFFE92 #92FEB1
monochromatic
#CC19FD #DA55FD #E792FE #F4CFFF #F8E1FF

Accessibility & contrast

On white

2.11
#E792FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#E792FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E792FE
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E792FE#FFFFFF#000000##000000
##E792FE1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ADFF
Deuteranopia (green-blind)
#98B5FB
Tritanopia (blue-blind)
#E8A0BC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e792fe;
/* rgb */ color: rgb(231, 146, 254);
/* oklch */ color: oklch(78.5% 0.172 318.9);
Tailwind
colors: {
  custom: {
    50: '#f0b4ff',
    500: '#e792fe',
    950: '#000000',
  },
}
SCSS
$custom: #e792fe;
$custom-light: #f0b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e792fe",
  "rgb": {
    "r": 231,
    "g": 146,
    "b": 254
  },
  "hsl": {
    "h": 287.222,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78472,
    "c": 0.17155,
    "h": 318.9
  },
  "luminance": 0.44702
}

Semantic roles & 50–950 ramp

primary
#E792FE
secondary
#DBF7D4
accent
#E60031
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E792FE

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

Preview Lab → · Contrast checker → · Palette generator →

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