#E796FE#E796FE

#E796FE is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.1% C 0.165 H 318.5°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#E796FE
RGBrgb(231, 150, 254)
HSLhsl(287, 98%, 79%)
HSVhsv(287, 41%, 100%)
CMYKcmyk(9.1%, 40.9%, 0%, 0.4%)
CIE-LABlab(73.52, 47.19, -39.65)
CIE-LCHlch(73.52, 61.63, 319.96°)
OKLaboklab(79.09% 0.1236 -0.1092)
OKLCHoklch(79.09% 0.165 318.5)
XYZxyz(61.7483, 45.9593, 99.3650)
Luminance0.4596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796FE #ADFE96
analogous
#B396FE #E796FE #FE96E1
triadic
#E796FE #FEE796 #96FEE7
tetradic
#E796FE #FEB396 #ADFE96 #96E1FE
square
#E796FE #FEB396 #ADFE96 #96E1FE
split-complementary
#E796FE #E1FE96 #96FEB3
monochromatic
#CB1DFD #D959FD #E796FE #F5D3FF #F8E1FF

Accessibility & contrast

On white

2.06
#E796FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#E796FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796FE
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796FE#FFFFFF#000000##000000
##E796FE1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#9BB7FB
Tritanopia (blue-blind)
#E7A3BE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #e796fe;
/* rgb */ color: rgb(231, 150, 254);
/* oklch */ color: oklch(79.1% 0.165 318.5);
Tailwind
colors: {
  custom: {
    50: '#f0b6ff',
    500: '#e796fe',
    950: '#000000',
  },
}
SCSS
$custom: #e796fe;
$custom-light: #f0b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e796fe",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 286.731,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79088,
    "c": 0.16495,
    "h": 318.5
  },
  "luminance": 0.45957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E796FE

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

Preview Lab → · Contrast checker → · Palette generator →

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