#E162F8#E162F8

#E162F8 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.0% C 0.236 H 321.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#E162F8
RGBrgb(225, 98, 248)
HSLhsl(291, 91%, 68%)
HSVhsv(291, 60%, 97%)
CMYKcmyk(9.3%, 60.5%, 0%, 2.7%)
CIE-LABlab(62.95, 69.59, -53.04)
CIE-LCHlch(62.95, 87.50, 322.69°)
OKLaboklab(71.03% 0.184 -0.1477)
OKLCHoklch(71.03% 0.236 321.2)
XYZxyz(52.3604, 31.5228, 92.1152)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E162F8 #79F862
analogous
#9662F8 #E162F8 #F862C4
triadic
#E162F8 #F8E162 #62F8E1
tetradic
#E162F8 #F89662 #79F862 #62C4F8
square
#E162F8 #F89662 #79F862 #62C4F8
split-complementary
#E162F8 #C4F862 #62F896
monochromatic
#B70AD6 #D627F5 #E162F8 #EC9DFB #F7D7FD

Accessibility & contrast

On white

2.88
#E162F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#E162F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E162F8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E162F8#FFFFFF#000000##000000
##E162F81.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFD
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#E37AA4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e162f8;
/* rgb */ color: rgb(225, 98, 248);
/* oklch */ color: oklch(71.0% 0.236 321.2);
Tailwind
colors: {
  custom: {
    50: '#ee96fb',
    500: '#e162f8',
    950: '#000000',
  },
}
SCSS
$custom: #e162f8;
$custom-light: #ee96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e162f8",
  "rgb": {
    "r": 225,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 290.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71033,
    "c": 0.2359,
    "h": 321.2
  },
  "luminance": 0.3152
}

Semantic roles & 50–950 ramp

primary
#E162F8
secondary
#CBF2C4
accent
#E60023
background
#FFF9FF
surface
#FEF2FF
border
#D6CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E162F8

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

Preview Lab → · Contrast checker → · Palette generator →

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