#E796FB#E796FB

#E796FB is a light, vivid purple. Relative luminance 0.458; OKLCH L 79.0% C 0.162 H 319.5°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#E796FB
RGBrgb(231, 150, 251)
HSLhsl(288, 93%, 79%)
HSVhsv(288, 40%, 98%)
CMYKcmyk(8%, 40.2%, 0%, 1.6%)
CIE-LABlab(73.40, 46.60, -38.22)
CIE-LCHlch(73.40, 60.27, 320.65°)
OKLaboklab(78.96% 0.1231 -0.1051)
OKLCHoklch(78.96% 0.162 319.5)
XYZxyz(61.2717, 45.7686, 96.8547)
Luminance0.4577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796FB #AAFB96
analogous
#B496FB #E796FB #FB96DC
triadic
#E796FB #FBE796 #96FBE7
tetradic
#E796FB #FBB496 #AAFB96 #96DCFB
square
#E796FB #FBB496 #AAFB96 #96DCFB
split-complementary
#E796FB #DCFB96 #96FBB4
monochromatic
#CC20F7 #DA5BF9 #E796FB #F4D1FD #F8E2FE

Accessibility & contrast

On white

2.07
#E796FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#E796FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796FB
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796FB#FFFFFF#000000##000000
##E796FB1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#9DB7F8
Tritanopia (blue-blind)
#E8A2BD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e796fb;
/* rgb */ color: rgb(231, 150, 251);
/* oklch */ color: oklch(79.0% 0.162 319.5);
Tailwind
colors: {
  custom: {
    50: '#f0b6fd',
    500: '#e796fb',
    950: '#000000',
  },
}
SCSS
$custom: #e796fb;
$custom-light: #f0b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e796fb",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 288.119,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78955,
    "c": 0.16182,
    "h": 319.5
  },
  "luminance": 0.45767
}

Semantic roles & 50–950 ramp

primary
#E796FB
secondary
#DCF6D5
accent
#E6002D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E796FB

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

Preview Lab → · Contrast checker → · Palette generator →

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