#E796EF#E796EF

#E796EF is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.4% C 0.150 H 323.7°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#E796EF
RGBrgb(231, 150, 239)
HSLhsl(295, 74%, 76%)
HSVhsv(295, 37%, 94%)
CMYKcmyk(3.3%, 37.2%, 0%, 6.3%)
CIE-LABlab(72.92, 44.32, -32.43)
CIE-LCHlch(72.92, 54.92, 323.81°)
OKLaboklab(78.44% 0.1205 -0.0886)
OKLCHoklch(78.44% 0.15 323.7)
XYZxyz(59.4397, 45.0358, 87.2064)
Luminance0.4503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796EF #9EEF96
analogous
#BB96EF #E796EF #EF96CB
triadic
#E796EF #EFE796 #96EFE7
tetradic
#E796EF #EFBB96 #9EEF96 #96CBEF
square
#E796EF #EFBB96 #9EEF96 #96CBEF
split-complementary
#E796EF #CBEF96 #96EFBB
monochromatic
#CF2CDF #DB61E7 #E796EF #F3CBF7 #F9E4FB

Accessibility & contrast

On white

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

On black

10.01
#E796EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796EF
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796EF#FFFFFF#000000##000000
##E796EF1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#A2B6EC
Tritanopia (blue-blind)
#EA9FB8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e796ef;
/* rgb */ color: rgb(231, 150, 239);
/* oklch */ color: oklch(78.4% 0.150 323.7);
Tailwind
colors: {
  custom: {
    50: '#f0b6f4',
    500: '#e796ef',
    950: '#000000',
  },
}
SCSS
$custom: #e796ef;
$custom-light: #f0b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e796ef",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 294.607,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78436,
    "c": 0.14959,
    "h": 323.7
  },
  "luminance": 0.45034
}

Semantic roles & 50–950 ramp

primary
#E796EF
secondary
#DBF3D8
accent
#D61022
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #E796EF

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

Preview Lab → · Contrast checker → · Palette generator →

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