#E181F2#E181F2

#E181F2 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.7% C 0.184 H 321.4°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#E181F2
RGBrgb(225, 129, 242)
HSLhsl(291, 81%, 73%)
HSVhsv(291, 47%, 95%)
CMYKcmyk(7%, 46.7%, 0%, 5.1%)
CIE-LABlab(68.11, 53.93, -41.60)
CIE-LCHlch(68.11, 68.11, 322.36°)
OKLaboklab(74.73% 0.1439 -0.1148)
OKLCHoklch(74.73% 0.184 321.4)
XYZxyz(54.9268, 38.1211, 88.4520)
Luminance0.3812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E181F2 #92F281
analogous
#A881F2 #E181F2 #F281CB
triadic
#E181F2 #F2E181 #81F2E1
tetradic
#E181F2 #F2A881 #92F281 #81CBF2
square
#E181F2 #F2A881 #92F281 #81CBF2
split-complementary
#E181F2 #CBF281 #81F2A8
monochromatic
#C317E1 #D44AEC #E181F2 #EEB8F8 #F8E3FC

Accessibility & contrast

On white

2.44
#E181F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#E181F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E181F2
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E181F2#FFFFFF#000000##000000
##E181F21.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#E38FAE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e181f2;
/* rgb */ color: rgb(225, 129, 242);
/* oklch */ color: oklch(74.7% 0.184 321.4);
Tailwind
colors: {
  custom: {
    50: '#eca8f6',
    500: '#e181f2',
    950: '#000000',
  },
}
SCSS
$custom: #e181f2;
$custom-light: #eca8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e181f2",
  "rgb": {
    "r": 225,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 290.973,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74732,
    "c": 0.18406,
    "h": 321.4
  },
  "luminance": 0.38119
}

Semantic roles & 50–950 ramp

primary
#E181F2
secondary
#DBF4D7
accent
#DE0828
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #E181F2

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

Preview Lab → · Contrast checker → · Palette generator →

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