#E162EC#E162EC

#E162EC is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.4% C 0.225 H 324.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#E162EC
RGBrgb(225, 98, 236)
HSLhsl(295, 78%, 65%)
HSVhsv(295, 58%, 93%)
CMYKcmyk(4.7%, 58.5%, 0%, 7.5%)
CIE-LABlab(62.34, 67.45, -47.35)
CIE-LCHlch(62.34, 82.41, 324.93°)
OKLaboklab(70.4% 0.1834 -0.1312)
OKLCHoklch(70.4% 0.225 324.4)
XYZxyz(50.5581, 30.8019, 82.6229)
Luminance0.3080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E162EC #6DEC62
analogous
#9C62EC #E162EC #EC62B2
triadic
#E162EC #ECE162 #62ECE1
tetradic
#E162EC #EC9C62 #6DEC62 #62B2EC
square
#E162EC #EC9C62 #6DEC62 #62B2EC
split-complementary
#E162EC #B2EC62 #62EC9C
monochromatic
#B017BD #D72BE5 #E162EC #EB99F3 #F6CFF9

Accessibility & contrast

On white

2.93
#E162EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#E162EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E162EC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E162EC#FFFFFF#000000##000000
##E162EC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#E5759E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e162ec;
/* rgb */ color: rgb(225, 98, 236);
/* oklch */ color: oklch(70.4% 0.225 324.4);
Tailwind
colors: {
  custom: {
    50: '#ed95f2',
    500: '#e162ec',
    950: '#000000',
  },
}
SCSS
$custom: #e162ec;
$custom-light: #ed95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e162ec",
  "rgb": {
    "r": 225,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 295.217,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70395,
    "c": 0.22544,
    "h": 324.4
  },
  "luminance": 0.30799
}

Semantic roles & 50–950 ramp

primary
#E162EC
secondary
#C1ECBE
accent
#DB0B1B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85

Preview Lab

Preview with #E162EC

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

Preview Lab → · Contrast checker → · Palette generator →

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