#E398FA#E398FA

#E398FA is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.8% C 0.155 H 318.0°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#E398FA
RGBrgb(227, 152, 250)
HSLhsl(286, 91%, 79%)
HSVhsv(286, 39%, 98%)
CMYKcmyk(9.2%, 39.2%, 0%, 2%)
CIE-LABlab(73.34, 44.19, -37.79)
CIE-LCHlch(73.34, 58.14, 319.47°)
OKLaboklab(78.81% 0.1155 -0.1039)
OKLCHoklch(78.81% 0.155 318)
XYZxyz(60.1597, 45.6912, 96.0742)
Luminance0.4569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398FA #AFFA98
analogous
#B298FA #E398FA #FA98E0
triadic
#E398FA #FAE398 #98FAE3
tetradic
#E398FA #FAB298 #AFFA98 #98E0FA
square
#E398FA #FAB298 #AFFA98 #98E0FA
split-complementary
#E398FA #E0FA98 #98FAB2
monochromatic
#C323F4 #D35EF7 #E398FA #F3D2FD #F7E2FE

Accessibility & contrast

On white

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

On black

10.14
#E398FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398FA
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398FA#FFFFFF#000000##000000
##E398FA1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFE
Deuteranopia (green-blind)
#9CB7F7
Tritanopia (blue-blind)
#E3A4BD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e398fa;
/* rgb */ color: rgb(227, 152, 250);
/* oklch */ color: oklch(78.8% 0.155 318.0);
Tailwind
colors: {
  custom: {
    50: '#edb7fc',
    500: '#e398fa',
    950: '#000000',
  },
}
SCSS
$custom: #e398fa;
$custom-light: #edb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e398fa",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 285.918,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78808,
    "c": 0.15537,
    "h": 318
  },
  "luminance": 0.45689
}

Semantic roles & 50–950 ramp

primary
#E398FA
secondary
#DDF6D5
accent
#E60036
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E398FA

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

Preview Lab → · Contrast checker → · Palette generator →

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