#E181EC#E181EC

#E181EC is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.5% C 0.178 H 323.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#E181EC
RGBrgb(225, 129, 236)
HSLhsl(294, 74%, 72%)
HSVhsv(294, 45%, 93%)
CMYKcmyk(4.7%, 45.3%, 0%, 7.5%)
CIE-LABlab(67.85, 52.80, -38.71)
CIE-LCHlch(67.85, 65.47, 323.76°)
OKLaboklab(74.45% 0.1429 -0.1065)
OKLCHoklch(74.45% 0.178 323.3)
XYZxyz(54.0404, 37.7665, 83.7837)
Luminance0.3776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E181EC #8CEC81
analogous
#AC81EC #E181EC #EC81C2
triadic
#E181EC #ECE181 #81ECE1
tetradic
#E181EC #ECAC81 #8CEC81 #81C2EC
square
#E181EC #ECAC81 #8CEC81 #81C2EC
split-complementary
#E181EC #C2EC81 #81ECAC
monochromatic
#C020D3 #D44CE4 #E181EC #EEB6F4 #F9E4FB

Accessibility & contrast

On white

2.46
#E181EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#E181EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E181EC
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E181EC#FFFFFF#000000##000000
##E181EC1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EF0
Deuteranopia (green-blind)
#8FA9E9
Tritanopia (blue-blind)
#E48EAC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e181ec;
/* rgb */ color: rgb(225, 129, 236);
/* oklch */ color: oklch(74.5% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#eca8f2',
    500: '#e181ec',
    950: '#000000',
  },
}
SCSS
$custom: #e181ec;
$custom-light: #eca8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e181ec",
  "rgb": {
    "r": 225,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 293.832,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74452,
    "c": 0.17822,
    "h": 323.3
  },
  "luminance": 0.37764
}

Semantic roles & 50–950 ramp

primary
#E181EC
secondary
#D9F2D7
accent
#D61024
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #E181EC

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

Preview Lab → · Contrast checker → · Palette generator →

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