#E398FD#E398FD

#E398FD is a light, vivid purple. Relative luminance 0.459; OKLCH L 78.9% C 0.159 H 317.0°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#E398FD
RGBrgb(227, 152, 253)
HSLhsl(285, 96%, 79%)
HSVhsv(285, 40%, 99%)
CMYKcmyk(10.3%, 39.9%, 0%, 0.8%)
CIE-LABlab(73.47, 44.78, -39.22)
CIE-LCHlch(73.47, 59.53, 318.79°)
OKLaboklab(78.94% 0.1161 -0.1081)
OKLCHoklch(78.94% 0.159 317)
XYZxyz(60.6339, 45.8809, 98.5713)
Luminance0.4588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398FD #B2FD98
analogous
#B198FD #E398FD #FD98E5
triadic
#E398FD #FDE398 #98FDE3
tetradic
#E398FD #FDB198 #B2FD98 #98E5FD
square
#E398FD #FDB198 #B2FD98 #98E5FD
split-complementary
#E398FD #E5FD98 #98FDB1
monochromatic
#C220FB #D35CFC #E398FD #F3D4FE #F7E1FE

Accessibility & contrast

On white

2.06
#E398FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#E398FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398FD
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398FD#FFFFFF#000000##000000
##E398FD1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e398fd;
/* rgb */ color: rgb(227, 152, 253);
/* oklch */ color: oklch(78.9% 0.159 317.0);
Tailwind
colors: {
  custom: {
    50: '#edb7fe',
    500: '#e398fd',
    950: '#000000',
  },
}
SCSS
$custom: #e398fd;
$custom-light: #edb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e398fd",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 284.554,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78941,
    "c": 0.15859,
    "h": 317
  },
  "luminance": 0.45879
}

Semantic roles & 50–950 ramp

primary
#E398FD
secondary
#DDF7D4
accent
#E6003B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E398FD

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

Preview Lab → · Contrast checker → · Palette generator →

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