#E397FC#E397FC

#E397FC is a light, vivid purple. Relative luminance 0.455; OKLCH L 78.7% C 0.159 H 317.5°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#E397FC
RGBrgb(227, 151, 252)
HSLhsl(285, 94%, 79%)
HSVhsv(285, 40%, 99%)
CMYKcmyk(9.9%, 40.1%, 0%, 1.2%)
CIE-LABlab(73.22, 45.11, -39.07)
CIE-LCHlch(73.22, 59.68, 319.10°)
OKLaboklab(78.74% 0.1173 -0.1076)
OKLCHoklch(78.74% 0.159 317.5)
XYZxyz(60.3134, 45.4941, 97.6807)
Luminance0.4549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397FC #B0FC97
analogous
#B197FC #E397FC #FC97E2
triadic
#E397FC #FCE397 #97FCE3
tetradic
#E397FC #FCB197 #B0FC97 #97E2FC
square
#E397FC #FCB197 #B0FC97 #97E2FC
split-complementary
#E397FC #E2FC97 #97FCB1
monochromatic
#C320F9 #D35CFA #E397FC #F3D2FE #F7E1FE

Accessibility & contrast

On white

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

On black

10.10
#E397FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397FC
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397FC#FFFFFF#000000##000000
##E397FC1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e397fc;
/* rgb */ color: rgb(227, 151, 252);
/* oklch */ color: oklch(78.7% 0.159 317.5);
Tailwind
colors: {
  custom: {
    50: '#edb7fd',
    500: '#e397fc',
    950: '#000000',
  },
}
SCSS
$custom: #e397fc;
$custom-light: #edb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e397fc",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 285.149,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78738,
    "c": 0.15918,
    "h": 317.5
  },
  "luminance": 0.45492
}

Semantic roles & 50–950 ramp

primary
#E397FC
secondary
#DDF6D5
accent
#E60039
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E397FC

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

Preview Lab → · Contrast checker → · Palette generator →

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