#E796FD#E796FD

#E796FD is a light, vivid purple. Relative luminance 0.459; OKLCH L 79.0% C 0.164 H 318.9°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#E796FD
RGBrgb(231, 150, 253)
HSLhsl(287, 96%, 79%)
HSVhsv(287, 41%, 99%)
CMYKcmyk(8.7%, 40.7%, 0%, 0.8%)
CIE-LABlab(73.48, 46.99, -39.17)
CIE-LCHlch(73.48, 61.18, 320.18°)
OKLaboklab(79.04% 0.1234 -0.1078)
OKLCHoklch(79.04% 0.164 318.9)
XYZxyz(61.5886, 45.8954, 98.5239)
Luminance0.4589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796FD #ACFD96
analogous
#B496FD #E796FD #FD96E0
triadic
#E796FD #FDE796 #96FDE7
tetradic
#E796FD #FDB496 #ACFD96 #96E0FD
square
#E796FD #FDB496 #ACFD96 #96E0FD
split-complementary
#E796FD #E0FD96 #96FDB4
monochromatic
#CC1EFB #D95AFC #E796FD #F5D2FE #F8E1FE

Accessibility & contrast

On white

2.06
#E796FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#E796FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796FD
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796FD#FFFFFF#000000##000000
##E796FD1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#9CB7FA
Tritanopia (blue-blind)
#E8A3BE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e796fd;
/* rgb */ color: rgb(231, 150, 253);
/* oklch */ color: oklch(79.0% 0.164 318.9);
Tailwind
colors: {
  custom: {
    50: '#f0b6fe',
    500: '#e796fd',
    950: '#000000',
  },
}
SCSS
$custom: #e796fd;
$custom-light: #f0b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e796fd",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 287.184,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79044,
    "c": 0.1639,
    "h": 318.9
  },
  "luminance": 0.45893
}

Semantic roles & 50–950 ramp

primary
#E796FD
secondary
#DCF7D4
accent
#E60031
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E796FD

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

Preview Lab → · Contrast checker → · Palette generator →

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