#E796DC#E796DC

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

Color values

HEX#E796DC
RGBrgb(231, 150, 220)
HSLhsl(308, 63%, 75%)
HSVhsv(308, 35%, 91%)
CMYKcmyk(0%, 35.1%, 4.8%, 9.4%)
CIE-LABlab(72.21, 40.89, -23.11)
CIE-LCHlch(72.21, 46.97, 330.52°)
OKLaboklab(77.67% 0.1158 -0.0623)
OKLCHoklch(77.67% 0.132 331.7)
XYZxyz(56.7789, 43.9715, 73.1928)
Luminance0.4397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796DC #96E7A1
analogous
#CA96E7 #E796DC #E796B4
triadic
#E796DC #DCE796 #96DCE7
tetradic
#E796DC #E7CA96 #96E7A1 #96B4E7
square
#E796DC #E7CA96 #96E7A1 #96B4E7
split-complementary
#E796DC #B4E796 #96E7CA
monochromatic
#D032BB #DC64CB #E796DC #F2C8ED #F9E6F7

Accessibility & contrast

On white

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

On black

9.79
#E796DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796DC
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796DC#FFFFFF#000000##000000
##E796DC1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADF
Deuteranopia (green-blind)
#A8B5D9
Tritanopia (blue-blind)
#EE9BB0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e796dc;
/* rgb */ color: rgb(231, 150, 220);
/* oklch */ color: oklch(77.7% 0.132 331.7);
Tailwind
colors: {
  custom: {
    50: '#f0b6e7',
    500: '#e796dc',
    950: '#000000',
  },
}
SCSS
$custom: #e796dc;
$custom-light: #f0b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e796dc",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 308.148,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77671,
    "c": 0.13155,
    "h": 331.7
  },
  "luminance": 0.43969
}

Semantic roles & 50–950 ramp

primary
#E796DC
secondary
#DAF1DD
accent
#CB331B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E796DC

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

Preview Lab → · Contrast checker → · Palette generator →

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