#E792F8#E792F8

#E792F8 is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.2% C 0.165 H 320.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#E792F8
RGBrgb(231, 146, 248)
HSLhsl(290, 88%, 77%)
HSVhsv(290, 41%, 97%)
CMYKcmyk(6.9%, 41.1%, 0%, 2.7%)
CIE-LABlab(72.45, 48.10, -38.06)
CIE-LCHlch(72.45, 61.34, 321.65°)
OKLaboklab(78.2% 0.1281 -0.1046)
OKLCHoklch(78.2% 0.165 320.8)
XYZxyz(60.1751, 44.3261, 94.1747)
Luminance0.4432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E792F8 #A3F892
analogous
#B492F8 #E792F8 #F892D6
triadic
#E792F8 #F8E792 #92F8E7
tetradic
#E792F8 #F8B492 #A3F892 #92D6F8
square
#E792F8 #F8B492 #A3F892 #92D6F8
split-complementary
#E792F8 #D6F892 #92F8B4
monochromatic
#CE1FF1 #DA58F4 #E792F8 #F4CCFC #F9E2FD

Accessibility & contrast

On white

2.13
#E792F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#E792F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E792F8
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E792F8#FFFFFF#000000##000000
##E792F81.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFC
Deuteranopia (green-blind)
#9BB5F5
Tritanopia (blue-blind)
#E99EB9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e792f8;
/* rgb */ color: rgb(231, 146, 248);
/* oklch */ color: oklch(78.2% 0.165 320.8);
Tailwind
colors: {
  custom: {
    50: '#f0b4fb',
    500: '#e792f8',
    950: '#000000',
  },
}
SCSS
$custom: #e792f8;
$custom-light: #f0b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e792f8",
  "rgb": {
    "r": 231,
    "g": 146,
    "b": 248
  },
  "hsl": {
    "h": 290,
    "s": 87.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78202,
    "c": 0.16541,
    "h": 320.8
  },
  "luminance": 0.44324
}

Semantic roles & 50–950 ramp

primary
#E792F8
secondary
#DBF5D6
accent
#E50127
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E792F8

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

Preview Lab → · Contrast checker → · Palette generator →

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