#E796F2#E796F2

#E796F2 is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.6% C 0.153 H 322.6°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#E796F2
RGBrgb(231, 150, 242)
HSLhsl(293, 78%, 77%)
HSVhsv(293, 38%, 95%)
CMYKcmyk(4.5%, 38%, 0%, 5.1%)
CIE-LABlab(73.03, 44.88, -33.89)
CIE-LCHlch(73.03, 56.24, 322.95°)
OKLaboklab(78.56% 0.1212 -0.0927)
OKLCHoklch(78.56% 0.153 322.6)
XYZxyz(59.8866, 45.2146, 89.5599)
Luminance0.4521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796F2 #A1F296
analogous
#B996F2 #E796F2 #F296CF
triadic
#E796F2 #F2E796 #96F2E7
tetradic
#E796F2 #F2B996 #A1F296 #96CFF2
square
#E796F2 #F2B996 #A1F296 #96CFF2
split-complementary
#E796F2 #CFF296 #96F2B9
monochromatic
#CE29E5 #DB60EB #E796F2 #F3CCF9 #F9E4FC

Accessibility & contrast

On white

2.09
#E796F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#E796F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796F2
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796F2#FFFFFF#000000##000000
##E796F21.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CADF5
Deuteranopia (green-blind)
#A0B7EF
Tritanopia (blue-blind)
#EAA0B9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e796f2;
/* rgb */ color: rgb(231, 150, 242);
/* oklch */ color: oklch(78.6% 0.153 322.6);
Tailwind
colors: {
  custom: {
    50: '#f0b6f6',
    500: '#e796f2',
    950: '#000000',
  },
}
SCSS
$custom: #e796f2;
$custom-light: #f0b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e796f2",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 292.826,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78563,
    "c": 0.1526,
    "h": 322.6
  },
  "luminance": 0.45212
}

Semantic roles & 50–950 ramp

primary
#E796F2
secondary
#DBF3D8
accent
#DA0B24
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #E796F2

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

Preview Lab → · Contrast checker → · Palette generator →

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