#E792FC#E792FC

#E792FC is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.4% C 0.169 H 319.5°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#E792FC
RGBrgb(231, 146, 252)
HSLhsl(288, 95%, 78%)
HSVhsv(288, 42%, 99%)
CMYKcmyk(8.3%, 42.1%, 0%, 1.2%)
CIE-LABlab(72.61, 48.87, -39.98)
CIE-LCHlch(72.61, 63.14, 320.72°)
OKLaboklab(78.38% 0.1289 -0.1101)
OKLCHoklch(78.38% 0.169 319.5)
XYZxyz(60.8023, 44.5770, 97.4779)
Luminance0.4457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E792FC #A7FC92
analogous
#B292FC #E792FC #FC92DC
triadic
#E792FC #FCE792 #92FCE7
tetradic
#E792FC #FCB292 #A7FC92 #92DCFC
square
#E792FC #FCB292 #A7FC92 #92DCFC
split-complementary
#E792FC #DCFC92 #92FCB2
monochromatic
#CD1BF9 #DA56FA #E792FC #F4CEFE #F8E1FE

Accessibility & contrast

On white

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

On black

9.91
#E792FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E792FC
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E792FC#FFFFFF#000000##000000
##E792FC1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#99B5F9
Tritanopia (blue-blind)
#E89FBB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e792fc;
/* rgb */ color: rgb(231, 146, 252);
/* oklch */ color: oklch(78.4% 0.169 319.5);
Tailwind
colors: {
  custom: {
    50: '#f0b4fd',
    500: '#e792fc',
    950: '#000000',
  },
}
SCSS
$custom: #e792fc;
$custom-light: #f0b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e792fc",
  "rgb": {
    "r": 231,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 288.113,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78381,
    "c": 0.16949,
    "h": 319.5
  },
  "luminance": 0.44575
}

Semantic roles & 50–950 ramp

primary
#E792FC
secondary
#DBF6D5
accent
#E6002D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E792FC

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

Preview Lab → · Contrast checker → · Palette generator →

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