#E792EC#E792EC

#E792EC is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.7% C 0.153 H 325.0°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#E792EC
RGBrgb(231, 146, 236)
HSLhsl(297, 70%, 75%)
HSVhsv(297, 38%, 93%)
CMYKcmyk(2.1%, 38.1%, 0%, 7.5%)
CIE-LABlab(71.96, 45.85, -32.26)
CIE-LCHlch(71.96, 56.06, 324.87°)
OKLaboklab(77.68% 0.1256 -0.0881)
OKLCHoklch(77.68% 0.153 325)
XYZxyz(58.3728, 43.6052, 84.6825)
Luminance0.4360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E792EC #97EC92
analogous
#BA92EC #E792EC #EC92C4
triadic
#E792EC #ECE792 #92ECE7
tetradic
#E792EC #ECBA92 #97EC92 #92C4EC
square
#E792EC #ECBA92 #97EC92 #92C4EC
split-complementary
#E792EC #C4EC92 #92ECBA
monochromatic
#D02ADA #DC5EE3 #E792EC #F2C6F5 #F9E5FA

Accessibility & contrast

On white

2.16
#E792EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#E792EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E792EC
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E792EC#FFFFFF#000000##000000
##E792EC1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#A0B4E9
Tritanopia (blue-blind)
#EB9BB4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e792ec;
/* rgb */ color: rgb(231, 146, 236);
/* oklch */ color: oklch(77.7% 0.153 325.0);
Tailwind
colors: {
  custom: {
    50: '#f0b3f2',
    500: '#e792ec',
    950: '#000000',
  },
}
SCSS
$custom: #e792ec;
$custom-light: #f0b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e792ec",
  "rgb": {
    "r": 231,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 296.667,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77682,
    "c": 0.15344,
    "h": 325
  },
  "luminance": 0.43603
}

Semantic roles & 50–950 ramp

primary
#E792EC
secondary
#DAF2D9
accent
#D2131E
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #E792EC

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

Preview Lab → · Contrast checker → · Palette generator →

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