#E398FB#E398FB

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

Color values

HEX#E398FB
RGBrgb(227, 152, 251)
HSLhsl(285, 93%, 79%)
HSVhsv(285, 39%, 98%)
CMYKcmyk(9.6%, 39.4%, 0%, 1.6%)
CIE-LABlab(73.39, 44.39, -38.26)
CIE-LCHlch(73.39, 58.60, 319.24°)
OKLaboklab(78.85% 0.1157 -0.1053)
OKLCHoklch(78.85% 0.156 317.7)
XYZxyz(60.3169, 45.7541, 96.9022)
Luminance0.4575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398FB #B0FB98
analogous
#B298FB #E398FB #FB98E1
triadic
#E398FB #FBE398 #98FBE3
tetradic
#E398FB #FBB298 #B0FB98 #98E1FB
square
#E398FB #FBB298 #B0FB98 #98E1FB
split-complementary
#E398FB #E1FB98 #98FBB2
monochromatic
#C322F6 #D35DF9 #E398FB #F3D3FD #F7E2FE

Accessibility & contrast

On white

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

On black

10.15
#E398FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398FB
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398FB#FFFFFF#000000##000000
##E398FB1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFF
Deuteranopia (green-blind)
#9CB7F8
Tritanopia (blue-blind)
#E3A5BE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e398fb;
/* rgb */ color: rgb(227, 152, 251);
/* oklch */ color: oklch(78.9% 0.156 317.7);
Tailwind
colors: {
  custom: {
    50: '#edb7fd',
    500: '#e398fb',
    950: '#000000',
  },
}
SCSS
$custom: #e398fb;
$custom-light: #edb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e398fb",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 285.455,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78852,
    "c": 0.15644,
    "h": 317.7
  },
  "luminance": 0.45752
}

Semantic roles & 50–950 ramp

primary
#E398FB
secondary
#DDF6D5
accent
#E60038
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E398FB

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

Preview Lab → · Contrast checker → · Palette generator →

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