#8E1FA0#8E1FA0

#8E1FA0 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.204 H 321.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8E1FA0
RGBrgb(142, 31, 160)
HSLhsl(292, 68%, 37%)
HSVhsv(292, 81%, 63%)
CMYKcmyk(11.2%, 80.6%, 0%, 37.3%)
CIE-LABlab(36.50, 60.79, -45.29)
CIE-LCHlch(36.50, 75.81, 323.31°)
OKLaboklab(47.96% 0.1595 -0.127)
OKLCHoklch(47.96% 0.204 321.5)
XYZxyz(17.9898, 9.2698, 34.0926)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1FA0 #31A01F
analogous
#4E1FA0 #8E1FA0 #A01F71
triadic
#8E1FA0 #A08E1F #1FA08E
tetradic
#8E1FA0 #A04E1F #31A01F #1F71A0
square
#8E1FA0 #A04E1F #31A01F #1F71A0
split-complementary
#8E1FA0 #71A01F #1FA04E
monochromatic
#330B39 #61156D #8E1FA0 #BB29D3 #CD5ADF

Accessibility & contrast

On white

7.36
#8E1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8E1FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1FA0
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1FA0#FFFFFF#000000##FFFFFF
##8E1FA01.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#315A9D
Tritanopia (blue-blind)
#8F3B60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e1fa0;
/* rgb */ color: rgb(142, 31, 160);
/* oklch */ color: oklch(48.0% 0.204 321.5);
Tailwind
colors: {
  custom: {
    50: '#b36abd',
    500: '#8e1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #8e1fa0;
$custom-light: #b36abd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1fa0",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 291.628,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4796,
    "c": 0.20389,
    "h": 321.5
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#8E1FA0
secondary
#67C358
accent
#EA3D56
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

#8E1FA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva