#E397F2#E397F2

#E397F2 is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.3% C 0.149 H 320.8°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#E397F2
RGBrgb(227, 151, 242)
HSLhsl(290, 78%, 77%)
HSVhsv(290, 38%, 95%)
CMYKcmyk(6.2%, 37.6%, 0%, 5.1%)
CIE-LABlab(72.81, 43.16, -34.26)
CIE-LCHlch(72.81, 55.11, 321.56°)
OKLaboklab(78.3% 0.1152 -0.0939)
OKLCHoklch(78.3% 0.149 320.8)
XYZxyz(58.7702, 44.8768, 89.5535)
Luminance0.4487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E397F2 #A6F297
analogous
#B697F2 #E397F2 #F297D4
triadic
#E397F2 #F2E397 #97F2E3
tetradic
#E397F2 #F2B697 #A6F297 #97D4F2
square
#E397F2 #F2B697 #A6F297 #97D4F2
split-complementary
#E397F2 #D4F297 #97F2B6
monochromatic
#C62AE4 #D461EB #E397F2 #F2CDF9 #F8E4FC

Accessibility & contrast

On white

2.11
#E397F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#E397F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E397F2
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E397F2#FFFFFF#000000##000000
##E397F21.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CADF5
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#E5A2B9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e397f2;
/* rgb */ color: rgb(227, 151, 242);
/* oklch */ color: oklch(78.3% 0.149 320.8);
Tailwind
colors: {
  custom: {
    50: '#edb7f6',
    500: '#e397f2',
    950: '#000000',
  },
}
SCSS
$custom: #e397f2;
$custom-light: #edb7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e397f2",
  "rgb": {
    "r": 227,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 290.11,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.783,
    "c": 0.14864,
    "h": 320.8
  },
  "luminance": 0.44875
}

Semantic roles & 50–950 ramp

primary
#E397F2
secondary
#DCF3D8
accent
#DA0B2E
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #E397F2

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

Preview Lab → · Contrast checker → · Palette generator →

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