#E796DD#E796DD

#E796DD is a light, vivid purple. Relative luminance 0.440; OKLCH L 77.7% C 0.132 H 331.2°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#E796DD
RGBrgb(231, 150, 221)
HSLhsl(307, 63%, 75%)
HSVhsv(307, 35%, 91%)
CMYKcmyk(0%, 35.1%, 4.3%, 9.4%)
CIE-LABlab(72.24, 41.06, -23.61)
CIE-LCHlch(72.24, 47.37, 330.10°)
OKLaboklab(77.71% 0.1161 -0.0637)
OKLCHoklch(77.71% 0.132 331.2)
XYZxyz(56.9117, 44.0246, 73.8924)
Luminance0.4402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796DD #96E7A0
analogous
#C896E7 #E796DD #E796B5
triadic
#E796DD #DDE796 #96DDE7
tetradic
#E796DD #E7C896 #96E7A0 #96B5E7
square
#E796DD #E7C896 #96E7A0 #96B5E7
split-complementary
#E796DD #B5E796 #96E7C8
monochromatic
#D032BD #DC64CD #E796DD #F2C8ED #F9E6F7

Accessibility & contrast

On white

2.14
#E796DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#E796DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796DD
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796DD#FFFFFF#000000##000000
##E796DD1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AAE0
Deuteranopia (green-blind)
#A8B5DA
Tritanopia (blue-blind)
#ED9BB0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e796dd;
/* rgb */ color: rgb(231, 150, 221);
/* oklch */ color: oklch(77.7% 0.132 331.2);
Tailwind
colors: {
  custom: {
    50: '#f0b6e7',
    500: '#e796dd',
    950: '#000000',
  },
}
SCSS
$custom: #e796dd;
$custom-light: #f0b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e796dd",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 307.407,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77709,
    "c": 0.13245,
    "h": 331.2
  },
  "luminance": 0.44022
}

Semantic roles & 50–950 ramp

primary
#E796DD
secondary
#DAF1DD
accent
#CB311B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E796DD

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

Preview Lab → · Contrast checker → · Palette generator →

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