#E796FC#E796FC

#E796FC is a light, vivid purple. Relative luminance 0.458; OKLCH L 79.0% C 0.163 H 319.2°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#E796FC
RGBrgb(231, 150, 252)
HSLhsl(288, 94%, 79%)
HSVhsv(288, 40%, 99%)
CMYKcmyk(8.3%, 40.5%, 0%, 1.2%)
CIE-LABlab(73.44, 46.80, -38.70)
CIE-LCHlch(73.44, 60.72, 320.41°)
OKLaboklab(79% 0.1232 -0.1065)
OKLCHoklch(79% 0.163 319.2)
XYZxyz(61.4297, 45.8318, 97.6871)
Luminance0.4583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796FC #ABFC96
analogous
#B496FC #E796FC #FC96DE
triadic
#E796FC #FCE796 #96FCE7
tetradic
#E796FC #FCB496 #ABFC96 #96DEFC
square
#E796FC #FCB496 #ABFC96 #96DEFC
split-complementary
#E796FC #DEFC96 #96FCB4
monochromatic
#CC1FF9 #D95BFA #E796FC #F5D2FE #F8E1FE

Accessibility & contrast

On white

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

On black

10.17
#E796FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796FC
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796FC#FFFFFF#000000##000000
##E796FC1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e796fc;
/* rgb */ color: rgb(231, 150, 252);
/* oklch */ color: oklch(79.0% 0.163 319.2);
Tailwind
colors: {
  custom: {
    50: '#f0b6fd',
    500: '#e796fc',
    950: '#000000',
  },
}
SCSS
$custom: #e796fc;
$custom-light: #f0b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e796fc",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 287.647,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78999,
    "c": 0.16286,
    "h": 319.2
  },
  "luminance": 0.4583
}

Semantic roles & 50–950 ramp

primary
#E796FC
secondary
#DCF6D5
accent
#E6002F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E796FC

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

Preview Lab → · Contrast checker → · Palette generator →

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