#8E1ABB#8E1ABB

#8E1ABB is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.6% C 0.230 H 313.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8E1ABB
RGBrgb(142, 26, 187)
HSLhsl(283, 76%, 42%)
HSVhsv(283, 86%, 73%)
CMYKcmyk(24.1%, 86.1%, 0%, 26.7%)
CIE-LABlab(37.98, 67.14, -59.00)
CIE-LCHlch(37.98, 89.38, 318.69°)
OKLaboklab(49.61% 0.1576 -0.1672)
OKLCHoklch(49.61% 0.23 313.3)
XYZxyz(20.4928, 10.0781, 47.8698)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1ABB #47BB1A
analogous
#3E1ABB #8E1ABB #BB1A98
triadic
#8E1ABB #BB8E1A #1ABB8E
tetradic
#8E1ABB #BB3E1A #47BB1A #1A98BB
square
#8E1ABB #BB3E1A #47BB1A #1A98BB
split-complementary
#8E1ABB #98BB1A #1ABB3E
monochromatic
#3C0B50 #651385 #8E1ABB #B030E2 #C566EA

Accessibility & contrast

On white

6.96
#8E1ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8E1ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E1ABB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1ABB#FFFFFF#000000##FFFFFF
##8E1ABB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#89466F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e1abb;
/* rgb */ color: rgb(142, 26, 187);
/* oklch */ color: oklch(49.6% 0.230 313.3);
Tailwind
colors: {
  custom: {
    50: '#b469d0',
    500: '#8e1abb',
    950: '#000000',
  },
}
SCSS
$custom: #8e1abb;
$custom-light: #b469d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1abb",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 187
  },
  "hsl": {
    "h": 283.23,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.22976,
    "h": 313.3
  },
  "luminance": 0.10077
}

Semantic roles & 50–950 ramp

primary
#8E1ABB
secondary
#80CF62
accent
#F2366A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8E1ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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