#E796ED#E796ED

#E796ED is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.4% C 0.148 H 324.4°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#E796ED
RGBrgb(231, 150, 237)
HSLhsl(296, 71%, 76%)
HSVhsv(296, 37%, 93%)
CMYKcmyk(2.5%, 36.7%, 0%, 7.1%)
CIE-LABlab(72.84, 43.95, -31.46)
CIE-LCHlch(72.84, 54.05, 324.40°)
OKLaboklab(78.35% 0.1201 -0.0858)
OKLCHoklch(78.35% 0.148 324.4)
XYZxyz(59.1459, 44.9183, 85.6589)
Luminance0.4492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796ED #9CED96
analogous
#BB96ED #E796ED #ED96C7
triadic
#E796ED #EDE796 #96EDE7
tetradic
#E796ED #EDBB96 #9CED96 #96C7ED
square
#E796ED #EDBB96 #9CED96 #96C7ED
split-complementary
#E796ED #C7ED96 #96EDBB
monochromatic
#CF2EDB #DB62E4 #E796ED #F3CAF6 #F9E5FB

Accessibility & contrast

On white

2.10
#E796ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#E796ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796ED
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796ED#FFFFFF#000000##000000
##E796ED1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADF0
Deuteranopia (green-blind)
#A2B6EA
Tritanopia (blue-blind)
#EB9FB7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e796ed;
/* rgb */ color: rgb(231, 150, 237);
/* oklch */ color: oklch(78.4% 0.148 324.4);
Tailwind
colors: {
  custom: {
    50: '#f0b6f3',
    500: '#e796ed',
    950: '#000000',
  },
}
SCSS
$custom: #e796ed;
$custom-light: #f0b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#e796ed",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 295.862,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78353,
    "c": 0.1476,
    "h": 324.4
  },
  "luminance": 0.44916
}

Semantic roles & 50–950 ramp

primary
#E796ED
secondary
#DBF2D9
accent
#D31320
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #E796ED

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

Preview Lab → · Contrast checker → · Palette generator →

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