#E796DB#E796DB

#E796DB is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.6% C 0.131 H 332.2°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#E796DB
RGBrgb(231, 150, 219)
HSLhsl(309, 63%, 75%)
HSVhsv(309, 35%, 91%)
CMYKcmyk(0%, 35.1%, 5.2%, 9.4%)
CIE-LABlab(72.17, 40.71, -22.62)
CIE-LCHlch(72.17, 46.57, 330.95°)
OKLaboklab(77.63% 0.1156 -0.061)
OKLCHoklch(77.63% 0.131 332.2)
XYZxyz(56.6469, 43.9187, 72.4974)
Luminance0.4392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796DB #96E7A2
analogous
#CB96E7 #E796DB #E796B3
triadic
#E796DB #DBE796 #96DBE7
tetradic
#E796DB #E7CB96 #96E7A2 #96B3E7
square
#E796DB #E7CB96 #96E7A2 #96B3E7
split-complementary
#E796DB #B3E796 #96E7CB
monochromatic
#D032B9 #DC64CA #E796DB #F2C8EC #F9E6F6

Accessibility & contrast

On white

2.15
#E796DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#E796DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796DB
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796DB#FFFFFF#000000##000000
##E796DB1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADE
Deuteranopia (green-blind)
#A9B5D8
Tritanopia (blue-blind)
#EE9BAF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e796db;
/* rgb */ color: rgb(231, 150, 219);
/* oklch */ color: oklch(77.6% 0.131 332.2);
Tailwind
colors: {
  custom: {
    50: '#f0b6e6',
    500: '#e796db',
    950: '#000000',
  },
}
SCSS
$custom: #e796db;
$custom-light: #f0b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e796db",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 308.889,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77632,
    "c": 0.13066,
    "h": 332.2
  },
  "luminance": 0.43916
}

Semantic roles & 50–950 ramp

primary
#E796DB
secondary
#DAF1DE
accent
#CB351B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E796DB

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

Preview Lab → · Contrast checker → · Palette generator →

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