#E792FB#E792FB

#E792FB is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.3% C 0.168 H 319.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#E792FB
RGBrgb(231, 146, 251)
HSLhsl(289, 93%, 78%)
HSVhsv(289, 42%, 98%)
CMYKcmyk(8%, 41.8%, 0%, 1.6%)
CIE-LABlab(72.57, 48.68, -39.50)
CIE-LCHlch(72.57, 62.69, 320.94°)
OKLaboklab(78.34% 0.1287 -0.1087)
OKLCHoklch(78.34% 0.168 319.8)
XYZxyz(60.6443, 44.5138, 96.6456)
Luminance0.4451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E792FB #A6FB92
analogous
#B292FB #E792FB #FB92DB
triadic
#E792FB #FBE792 #92FBE7
tetradic
#E792FB #FBB292 #A6FB92 #92DBFB
square
#E792FB #FBB292 #A6FB92 #92DBFB
split-complementary
#E792FB #DBFB92 #92FBB2
monochromatic
#CD1CF7 #DA57F9 #E792FB #F4CDFD #F9E1FE

Accessibility & contrast

On white

2.12
#E792FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#E792FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E792FB
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E792FB#FFFFFF#000000##000000
##E792FB1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#9AB5F8
Tritanopia (blue-blind)
#E89FBB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e792fb;
/* rgb */ color: rgb(231, 146, 251);
/* oklch */ color: oklch(78.3% 0.168 319.8);
Tailwind
colors: {
  custom: {
    50: '#f0b4fd',
    500: '#e792fb',
    950: '#000000',
  },
}
SCSS
$custom: #e792fb;
$custom-light: #f0b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e792fb",
  "rgb": {
    "r": 231,
    "g": 146,
    "b": 251
  },
  "hsl": {
    "h": 288.571,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78336,
    "c": 0.16846,
    "h": 319.8
  },
  "luminance": 0.44512
}

Semantic roles & 50–950 ramp

primary
#E792FB
secondary
#DBF6D5
accent
#E6002C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E792FB

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

Preview Lab → · Contrast checker → · Palette generator →

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