#E796EA#E796EA

#E796EA is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.2% C 0.145 H 325.6°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#E796EA
RGBrgb(231, 150, 234)
HSLhsl(298, 67%, 75%)
HSVhsv(298, 36%, 92%)
CMYKcmyk(1.3%, 35.9%, 0%, 8.2%)
CIE-LABlab(72.72, 43.40, -30.00)
CIE-LCHlch(72.72, 52.76, 325.35°)
OKLaboklab(78.23% 0.1194 -0.0817)
OKLCHoklch(78.23% 0.145 325.6)
XYZxyz(58.7113, 44.7444, 83.3698)
Luminance0.4474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796EA #99EA96
analogous
#BD96EA #E796EA #EA96C3
triadic
#E796EA #EAE796 #96EAE7
tetradic
#E796EA #EABD96 #99EA96 #96C3EA
square
#E796EA #EABD96 #99EA96 #96C3EA
split-complementary
#E796EA #C3EA96 #96EABD
monochromatic
#D030D6 #DB63E0 #E796EA #F3C9F4 #F9E5FA

Accessibility & contrast

On white

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

On black

9.95
#E796EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796EA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796EA#FFFFFF#000000##000000
##E796EA1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACED
Deuteranopia (green-blind)
#A3B6E7
Tritanopia (blue-blind)
#EB9EB5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e796ea;
/* rgb */ color: rgb(231, 150, 234);
/* oklch */ color: oklch(78.2% 0.145 325.6);
Tailwind
colors: {
  custom: {
    50: '#f0b6f1',
    500: '#e796ea',
    950: '#000000',
  },
}
SCSS
$custom: #e796ea;
$custom-light: #f0b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e796ea",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 297.857,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.78228,
    "c": 0.14466,
    "h": 325.6
  },
  "luminance": 0.44742
}

Semantic roles & 50–950 ramp

primary
#E796EA
secondary
#DAF1DA
accent
#CF171E
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E796EA

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

Preview Lab → · Contrast checker → · Palette generator →

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