#E796DF#E796DF

#E796DF is a light, vivid purple. Relative luminance 0.441; OKLCH L 77.8% C 0.134 H 330.3°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#E796DF
RGBrgb(231, 150, 223)
HSLhsl(306, 63%, 75%)
HSVhsv(306, 35%, 91%)
CMYKcmyk(0%, 35.1%, 3.5%, 9.4%)
CIE-LABlab(72.32, 41.41, -24.60)
CIE-LCHlch(72.32, 48.17, 329.29°)
OKLaboklab(77.79% 0.1166 -0.0665)
OKLCHoklch(77.79% 0.134 330.3)
XYZxyz(57.1798, 44.1319, 75.3041)
Luminance0.4413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796DF #96E79E
analogous
#C796E7 #E796DF #E796B7
triadic
#E796DF #DFE796 #96DFE7
tetradic
#E796DF #E7C796 #96E79E #96B7E7
square
#E796DF #E7C796 #96E79E #96B7E7
split-complementary
#E796DF #B7E796 #96E7C7
monochromatic
#D032C1 #DC64D0 #E796DF #F2C8EE #F9E6F7

Accessibility & contrast

On white

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

On black

9.83
#E796DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796DF
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796DF#FFFFFF#000000##000000
##E796DF1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AAE2
Deuteranopia (green-blind)
#A7B5DC
Tritanopia (blue-blind)
#ED9CB1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #e796df;
/* rgb */ color: rgb(231, 150, 223);
/* oklch */ color: oklch(77.8% 0.134 330.3);
Tailwind
colors: {
  custom: {
    50: '#f0b6e9',
    500: '#e796df',
    950: '#000000',
  },
}
SCSS
$custom: #e796df;
$custom-light: #f0b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e796df",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 305.926,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77787,
    "c": 0.13427,
    "h": 330.3
  },
  "luminance": 0.44129
}

Semantic roles & 50–950 ramp

primary
#E796DF
secondary
#DAF1DD
accent
#CB2C1B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #E796DF

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

Preview Lab → · Contrast checker → · Palette generator →

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