#E792FF#E792FF

#E792FF is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.5% C 0.173 H 318.6°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#E792FF
RGBrgb(231, 146, 255)
HSLhsl(287, 100%, 79%)
HSVhsv(287, 43%, 100%)
CMYKcmyk(9.4%, 42.7%, 0%, 0%)
CIE-LABlab(72.74, 49.45, -41.41)
CIE-LCHlch(72.74, 64.50, 320.06°)
OKLaboklab(78.52% 0.1294 -0.1142)
OKLCHoklch(78.52% 0.173 318.6)
XYZxyz(61.2815, 44.7686, 100.0015)
Luminance0.4477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E792FF #AAFF92
analogous
#B092FF #E792FF #FF92E0
triadic
#E792FF #FFE792 #92FFE7
tetradic
#E792FF #FFB092 #AAFF92 #92E0FF
square
#E792FF #FFB092 #AAFF92 #92E0FF
split-complementary
#E792FF #E0FF92 #92FFB0
monochromatic
#CC18FF #DA55FF #E792FF #F4CFFF #F8E0FF

Accessibility & contrast

On white

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

On black

9.95
#E792FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E792FF
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E792FF#FFFFFF#000000##000000
##E792FF1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e792ff;
/* rgb */ color: rgb(231, 146, 255);
/* oklch */ color: oklch(78.5% 0.173 318.6);
Tailwind
colors: {
  custom: {
    50: '#f0b4ff',
    500: '#e792ff',
    950: '#000000',
  },
}
SCSS
$custom: #e792ff;
$custom-light: #f0b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e792ff",
  "rgb": {
    "r": 231,
    "g": 146,
    "b": 255
  },
  "hsl": {
    "h": 286.789,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78518,
    "c": 0.17259,
    "h": 318.6
  },
  "luminance": 0.44767
}

Semantic roles & 50–950 ramp

primary
#E792FF
secondary
#DCF7D4
accent
#E60033
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E792FF

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

Preview Lab → · Contrast checker → · Palette generator →

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