#E796F9#E796F9

#E796F9 is a light, vivid purple. Relative luminance 0.456; OKLCH L 78.9% C 0.160 H 320.2°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#E796F9
RGBrgb(231, 150, 249)
HSLhsl(289, 89%, 78%)
HSVhsv(289, 40%, 98%)
CMYKcmyk(7.2%, 39.8%, 0%, 2.4%)
CIE-LABlab(73.31, 46.22, -37.26)
CIE-LCHlch(73.31, 59.37, 321.13°)
OKLaboklab(78.87% 0.1227 -0.1023)
OKLCHoklch(78.87% 0.16 320.2)
XYZxyz(60.9581, 45.6432, 95.2031)
Luminance0.4564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796F9 #A8F996
analogous
#B596F9 #E796F9 #F996D9
triadic
#E796F9 #F9E796 #96F9E7
tetradic
#E796F9 #F9B596 #A8F996 #96D9F9
square
#E796F9 #F9B596 #A8F996 #96D9F9
split-complementary
#E796F9 #D9F996 #96F9B5
monochromatic
#CD22F2 #DA5CF6 #E796F9 #F4D0FC #F8E2FD

Accessibility & contrast

On white

2.07
#E796F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#E796F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796F9
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796F9#FFFFFF#000000##000000
##E796F91.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFD
Deuteranopia (green-blind)
#9EB7F6
Tritanopia (blue-blind)
#E8A2BC
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e796f9;
/* rgb */ color: rgb(231, 150, 249);
/* oklch */ color: oklch(78.9% 0.160 320.2);
Tailwind
colors: {
  custom: {
    50: '#f0b6fb',
    500: '#e796f9',
    950: '#000000',
  },
}
SCSS
$custom: #e796f9;
$custom-light: #f0b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e796f9",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 289.091,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78866,
    "c": 0.15975,
    "h": 320.2
  },
  "luminance": 0.45641
}

Semantic roles & 50–950 ramp

primary
#E796F9
secondary
#DBF5D6
accent
#E6002A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E796F9

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

Preview Lab → · Contrast checker → · Palette generator →

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