#E398F8#E398F8

#E398F8 is a light, vivid purple. Relative luminance 0.456; OKLCH L 78.7% C 0.153 H 318.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#E398F8
RGBrgb(227, 152, 248)
HSLhsl(287, 87%, 78%)
HSVhsv(287, 39%, 97%)
CMYKcmyk(8.5%, 38.7%, 0%, 2.7%)
CIE-LABlab(73.26, 43.80, -36.83)
CIE-LCHlch(73.26, 57.22, 319.94°)
OKLaboklab(78.72% 0.1151 -0.1012)
OKLCHoklch(78.72% 0.153 318.7)
XYZxyz(59.8478, 45.5664, 94.4313)
Luminance0.4556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398F8 #ADF898
analogous
#B398F8 #E398F8 #F898DD
triadic
#E398F8 #F8E398 #98F8E3
tetradic
#E398F8 #F8B398 #ADF898 #98DDF8
square
#E398F8 #F8B398 #ADF898 #98DDF8
split-complementary
#E398F8 #DDF898 #98F8B3
monochromatic
#C425F0 #D35FF4 #E398F8 #F3D1FC #F7E2FD

Accessibility & contrast

On white

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

On black

10.11
#E398F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398F8
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398F8#FFFFFF#000000##000000
##E398F81.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFC
Deuteranopia (green-blind)
#9DB7F5
Tritanopia (blue-blind)
#E4A4BD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e398f8;
/* rgb */ color: rgb(227, 152, 248);
/* oklch */ color: oklch(78.7% 0.153 318.7);
Tailwind
colors: {
  custom: {
    50: '#edb7fb',
    500: '#e398f8',
    950: '#000000',
  },
}
SCSS
$custom: #e398f8;
$custom-light: #edb7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e398f8",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 286.875,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.7872,
    "c": 0.15325,
    "h": 318.7
  },
  "luminance": 0.45565
}

Semantic roles & 50–950 ramp

primary
#E398F8
secondary
#DDF5D6
accent
#E40233
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E398F8

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

Preview Lab → · Contrast checker → · Palette generator →

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