#E796EC#E796EC

#E796EC is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.3% C 0.147 H 324.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#E796EC
RGBrgb(231, 150, 236)
HSLhsl(297, 69%, 76%)
HSVhsv(297, 36%, 93%)
CMYKcmyk(2.1%, 36.4%, 0%, 7.5%)
CIE-LABlab(72.80, 43.77, -30.97)
CIE-LCHlch(72.80, 53.62, 324.71°)
OKLaboklab(78.31% 0.1198 -0.0845)
OKLCHoklch(78.31% 0.147 324.8)
XYZxyz(59.0002, 44.8600, 84.8916)
Luminance0.4486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796EC #9BEC96
analogous
#BC96EC #E796EC #EC96C6
triadic
#E796EC #ECE796 #96ECE7
tetradic
#E796EC #ECBC96 #9BEC96 #96C6EC
square
#E796EC #ECBC96 #9BEC96 #96C6EC
split-complementary
#E796EC #C6EC96 #96ECBC
monochromatic
#CF2ED9 #DB62E3 #E796EC #F3CAF5 #F9E5FA

Accessibility & contrast

On white

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

On black

9.97
#E796EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796EC
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796EC#FFFFFF#000000##000000
##E796EC1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#EB9FB6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e796ec;
/* rgb */ color: rgb(231, 150, 236);
/* oklch */ color: oklch(78.3% 0.147 324.8);
Tailwind
colors: {
  custom: {
    50: '#f0b6f2',
    500: '#e796ec',
    950: '#000000',
  },
}
SCSS
$custom: #e796ec;
$custom-light: #f0b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e796ec",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 296.512,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78311,
    "c": 0.14662,
    "h": 324.8
  },
  "luminance": 0.44858
}

Semantic roles & 50–950 ramp

primary
#E796EC
secondary
#DBF2D9
accent
#D1141F
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #E796EC

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

Preview Lab → · Contrast checker → · Palette generator →

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