#E396FB#E396FB

#E396FB is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.5% C 0.160 H 317.9°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#E396FB
RGBrgb(227, 150, 251)
HSLhsl(286, 93%, 79%)
HSVhsv(286, 40%, 98%)
CMYKcmyk(9.6%, 40.2%, 0%, 1.6%)
CIE-LABlab(72.96, 45.44, -38.92)
CIE-LCHlch(72.96, 59.83, 319.42°)
OKLaboklab(78.54% 0.1185 -0.1072)
OKLCHoklch(78.54% 0.16 317.9)
XYZxyz(59.9951, 45.1104, 96.7949)
Luminance0.4511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E396FB #AEFB96
analogous
#B096FB #E396FB #FB96E0
triadic
#E396FB #FBE396 #96FBE3
tetradic
#E396FB #FBB096 #AEFB96 #96E0FB
square
#E396FB #FBB096 #AEFB96 #96E0FB
split-complementary
#E396FB #E0FB96 #96FBB0
monochromatic
#C420F7 #D35BF9 #E396FB #F3D1FD #F7E2FE

Accessibility & contrast

On white

2.10
#E396FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#E396FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E396FB
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E396FB#FFFFFF#000000##000000
##E396FB1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#9AB6F8
Tritanopia (blue-blind)
#E3A3BD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e396fb;
/* rgb */ color: rgb(227, 150, 251);
/* oklch */ color: oklch(78.5% 0.160 317.9);
Tailwind
colors: {
  custom: {
    50: '#edb6fd',
    500: '#e396fb',
    950: '#000000',
  },
}
SCSS
$custom: #e396fb;
$custom-light: #edb6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e396fb",
  "rgb": {
    "r": 227,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 285.743,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78535,
    "c": 0.15979,
    "h": 317.9
  },
  "luminance": 0.45109
}

Semantic roles & 50–950 ramp

primary
#E396FB
secondary
#DDF6D5
accent
#E60037
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E396FB

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

Preview Lab → · Contrast checker → · Palette generator →

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