#E796FF#E796FF

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

Color values

HEX#E796FF
RGBrgb(231, 150, 255)
HSLhsl(286, 100%, 79%)
HSVhsv(286, 41%, 100%)
CMYKcmyk(9.4%, 41.2%, 0%, 0%)
CIE-LABlab(73.56, 47.38, -40.13)
CIE-LCHlch(73.56, 62.09, 319.74°)
OKLaboklab(79.13% 0.1238 -0.1106)
OKLCHoklch(79.13% 0.166 318.2)
XYZxyz(61.9089, 46.0235, 100.2106)
Luminance0.4602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796FF #AEFF96
analogous
#B396FF #E796FF #FF96E2
triadic
#E796FF #FFE796 #96FFE7
tetradic
#E796FF #FFB396 #AEFF96 #96E2FF
square
#E796FF #FFB396 #AEFF96 #96E2FF
split-complementary
#E796FF #E2FF96 #96FFB3
monochromatic
#CB1CFF #D959FF #E796FF #F5D3FF #F8E0FF

Accessibility & contrast

On white

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

On black

10.20
#E796FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796FF
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796FF#FFFFFF#000000##000000
##E796FF1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e796ff;
/* rgb */ color: rgb(231, 150, 255);
/* oklch */ color: oklch(79.1% 0.166 318.2);
Tailwind
colors: {
  custom: {
    50: '#f0b6ff',
    500: '#e796ff',
    950: '#000000',
  },
}
SCSS
$custom: #e796ff;
$custom-light: #f0b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e796ff",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 286.286,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.79133,
    "c": 0.166,
    "h": 318.2
  },
  "luminance": 0.46022
}

Semantic roles & 50–950 ramp

primary
#E796FF
secondary
#DCF7D4
accent
#E60034
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E796FF

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

Preview Lab → · Contrast checker → · Palette generator →

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