#E792EF#E792EF

#E792EF is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.8% C 0.156 H 323.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#E792EF
RGBrgb(231, 146, 239)
HSLhsl(295, 74%, 75%)
HSVhsv(295, 39%, 94%)
CMYKcmyk(3.3%, 38.9%, 0%, 6.3%)
CIE-LABlab(72.08, 46.41, -33.72)
CIE-LCHlch(72.08, 57.36, 324.00°)
OKLaboklab(77.81% 0.1263 -0.0922)
OKLCHoklch(77.81% 0.156 323.9)
XYZxyz(58.8123, 43.7810, 86.9972)
Luminance0.4378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E792EF #9AEF92
analogous
#B892EF #E792EF #EF92C8
triadic
#E792EF #EFE792 #92EFE7
tetradic
#E792EF #EFB892 #9AEF92 #92C8EF
square
#E792EF #EFB892 #9AEF92 #92C8EF
split-complementary
#E792EF #C8EF92 #92EFB8
monochromatic
#CF27DF #DB5DE7 #E792EF #F3C7F7 #F9E4FB

Accessibility & contrast

On white

2.15
#E792EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#E792EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E792EF
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E792EF#FFFFFF#000000##000000
##E792EF1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF2
Deuteranopia (green-blind)
#9EB4EC
Tritanopia (blue-blind)
#EB9CB5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e792ef;
/* rgb */ color: rgb(231, 146, 239);
/* oklch */ color: oklch(77.8% 0.156 323.9);
Tailwind
colors: {
  custom: {
    50: '#f0b3f4',
    500: '#e792ef',
    950: '#000000',
  },
}
SCSS
$custom: #e792ef;
$custom-light: #f0b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e792ef",
  "rgb": {
    "r": 231,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 294.839,
    "s": 74.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77809,
    "c": 0.15638,
    "h": 323.9
  },
  "luminance": 0.43779
}

Semantic roles & 50–950 ramp

primary
#E792EF
secondary
#DBF3D8
accent
#D70F20
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #E792EF

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

Preview Lab → · Contrast checker → · Palette generator →

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