#E398FC#E398FC

#E398FC is a light, vivid purple. Relative luminance 0.458; OKLCH L 78.9% C 0.158 H 317.4°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#E398FC
RGBrgb(227, 152, 252)
HSLhsl(285, 94%, 79%)
HSVhsv(285, 40%, 99%)
CMYKcmyk(9.9%, 39.7%, 0%, 1.2%)
CIE-LABlab(73.43, 44.59, -38.74)
CIE-LCHlch(73.43, 59.07, 319.01°)
OKLaboklab(78.9% 0.1159 -0.1067)
OKLCHoklch(78.9% 0.158 317.4)
XYZxyz(60.4750, 45.8173, 97.7345)
Luminance0.4582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398FC #B1FC98
analogous
#B198FC #E398FC #FC98E3
triadic
#E398FC #FCE398 #98FCE3
tetradic
#E398FC #FCB198 #B1FC98 #98E3FC
square
#E398FC #FCB198 #B1FC98 #98E3FC
split-complementary
#E398FC #E3FC98 #98FCB1
monochromatic
#C321F9 #D35DFA #E398FC #F3D3FE #F7E1FE

Accessibility & contrast

On white

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

On black

10.16
#E398FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398FC
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398FC#FFFFFF#000000##000000
##E398FC1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#9CB7F9
Tritanopia (blue-blind)
#E3A5BE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e398fc;
/* rgb */ color: rgb(227, 152, 252);
/* oklch */ color: oklch(78.9% 0.158 317.4);
Tailwind
colors: {
  custom: {
    50: '#edb7fd',
    500: '#e398fc',
    950: '#000000',
  },
}
SCSS
$custom: #e398fc;
$custom-light: #edb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e398fc",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 285,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78896,
    "c": 0.15751,
    "h": 317.4
  },
  "luminance": 0.45816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E398FC

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

Preview Lab → · Contrast checker → · Palette generator →

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