#E796EB#E796EB

#E796EB is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.3% C 0.146 H 325.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#E796EB
RGBrgb(231, 150, 235)
HSLhsl(297, 68%, 75%)
HSVhsv(297, 36%, 92%)
CMYKcmyk(1.7%, 36.2%, 0%, 7.8%)
CIE-LABlab(72.76, 43.58, -30.49)
CIE-LCHlch(72.76, 53.19, 325.03°)
OKLaboklab(78.27% 0.1196 -0.0831)
OKLCHoklch(78.27% 0.146 325.2)
XYZxyz(58.8553, 44.8021, 84.1286)
Luminance0.4480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796EB #9AEB96
analogous
#BC96EB #E796EB #EB96C5
triadic
#E796EB #EBE796 #96EBE7
tetradic
#E796EB #EBBC96 #9AEB96 #96C5EB
square
#E796EB #EBBC96 #9AEB96 #96C5EB
split-complementary
#E796EB #C5EB96 #96EBBC
monochromatic
#CF2FD7 #DB63E1 #E796EB #F3C9F5 #F9E5FA

Accessibility & contrast

On white

2.11
#E796EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#E796EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796EB
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796EB#FFFFFF#000000##000000
##E796EB1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#A3B6E8
Tritanopia (blue-blind)
#EB9EB6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e796eb;
/* rgb */ color: rgb(231, 150, 235);
/* oklch */ color: oklch(78.3% 0.146 325.2);
Tailwind
colors: {
  custom: {
    50: '#f0b6f1',
    500: '#e796eb',
    950: '#000000',
  },
}
SCSS
$custom: #e796eb;
$custom-light: #f0b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e796eb",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 297.176,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78269,
    "c": 0.14564,
    "h": 325.2
  },
  "luminance": 0.448
}

Semantic roles & 50–950 ramp

primary
#E796EB
secondary
#DBF2D9
accent
#D0161E
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #E796EB

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

Preview Lab → · Contrast checker → · Palette generator →

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