#E796F8#E796F8

#E796F8 is a light, vivid purple. Relative luminance 0.456; OKLCH L 78.8% C 0.159 H 320.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#E796F8
RGBrgb(231, 150, 248)
HSLhsl(290, 88%, 78%)
HSVhsv(290, 40%, 97%)
CMYKcmyk(6.9%, 39.5%, 0%, 2.7%)
CIE-LABlab(73.27, 46.03, -36.78)
CIE-LCHlch(73.27, 58.91, 321.37°)
OKLaboklab(78.82% 0.1225 -0.101)
OKLCHoklch(78.82% 0.159 320.5)
XYZxyz(60.8025, 45.5809, 94.3839)
Luminance0.4558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796F8 #A7F896
analogous
#B696F8 #E796F8 #F896D8
triadic
#E796F8 #F8E796 #96F8E7
tetradic
#E796F8 #F8B696 #A7F896 #96D8F8
square
#E796F8 #F8B696 #A7F896 #96D8F8
split-complementary
#E796F8 #D8F896 #96F8B6
monochromatic
#CD23F0 #DA5DF4 #E796F8 #F4CFFC #F8E2FD

Accessibility & contrast

On white

2.08
#E796F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#E796F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796F8
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796F8#FFFFFF#000000##000000
##E796F81.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFC
Deuteranopia (green-blind)
#9EB7F5
Tritanopia (blue-blind)
#E9A2BC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e796f8;
/* rgb */ color: rgb(231, 150, 248);
/* oklch */ color: oklch(78.8% 0.159 320.5);
Tailwind
colors: {
  custom: {
    50: '#f0b6fb',
    500: '#e796f8',
    950: '#000000',
  },
}
SCSS
$custom: #e796f8;
$custom-light: #f0b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e796f8",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 289.592,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78823,
    "c": 0.15872,
    "h": 320.5
  },
  "luminance": 0.45579
}

Semantic roles & 50–950 ramp

primary
#E796F8
secondary
#DBF5D6
accent
#E40129
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E796F8

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

Preview Lab → · Contrast checker → · Palette generator →

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