#8E1EB4#8E1EB4

#8E1EB4 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.221 H 315.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8E1EB4
RGBrgb(142, 30, 180)
HSLhsl(285, 71%, 41%)
HSVhsv(285, 83%, 71%)
CMYKcmyk(21.1%, 83.3%, 0%, 29.4%)
CIE-LABlab(37.80, 64.79, -55.16)
CIE-LCHlch(37.80, 85.10, 319.59°)
OKLaboklab(49.31% 0.1568 -0.1559)
OKLCHoklch(49.31% 0.221 315.2)
XYZxyz(19.8565, 9.9754, 44.0507)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1EB4 #44B41E
analogous
#431EB4 #8E1EB4 #B41E8F
triadic
#8E1EB4 #B48E1E #1EB48E
tetradic
#8E1EB4 #B4431E #44B41E #1E8FB4
square
#8E1EB4 #B4431E #44B41E #1E8FB4
split-complementary
#8E1EB4 #8FB41E #1EB443
monochromatic
#3B0D4B #651580 #8E1EB4 #B232DD #C567E6

Accessibility & contrast

On white

7.01
#8E1EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8E1EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1EB4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1EB4#FFFFFF#000000##FFFFFF
##8E1EB41.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#135CB1
Tritanopia (blue-blind)
#8B446C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e1eb4;
/* rgb */ color: rgb(142, 30, 180);
/* oklch */ color: oklch(49.3% 0.221 315.2);
Tailwind
colors: {
  custom: {
    50: '#b46acb',
    500: '#8e1eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8e1eb4;
$custom-light: #b46acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1eb4",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 180
  },
  "hsl": {
    "h": 284.8,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49314,
    "c": 0.22113,
    "h": 315.2
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#8E1EB4
secondary
#7DCB63
accent
#EE3A67
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8E1EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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