#8E2EB9#8E2EB9

#8E2EB9 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.211 H 312.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8E2EB9
RGBrgb(142, 46, 185)
HSLhsl(281, 60%, 45%)
HSVhsv(281, 75%, 73%)
CMYKcmyk(23.2%, 75.1%, 0%, 27.5%)
CIE-LABlab(39.93, 60.66, -54.67)
CIE-LCHlch(39.93, 81.66, 317.97°)
OKLaboklab(50.92% 0.1432 -0.1546)
OKLCHoklch(50.92% 0.211 312.8)
XYZxyz(20.8877, 11.2082, 46.9526)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EB9 #59B92E
analogous
#492EB9 #8E2EB9 #B92E9E
triadic
#8E2EB9 #B98E2E #2EB98E
tetradic
#8E2EB9 #B9492E #59B92E #2E9EB9
square
#8E2EB9 #B9492E #59B92E #2E9EB9
split-complementary
#8E2EB9 #9EB92E #2EB949
monochromatic
#431657 #682288 #8E2EB9 #AB51D4 #C382E0

Accessibility & contrast

On white

6.48
#8E2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8E2EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EB9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EB9#FFFFFF#000000##FFFFFF
##8E2EB91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#1D60B6
Tritanopia (blue-blind)
#894E72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2eb9;
/* rgb */ color: rgb(142, 46, 185);
/* oklch */ color: oklch(50.9% 0.211 312.8);
Tailwind
colors: {
  custom: {
    50: '#b471cf',
    500: '#8e2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #8e2eb9;
$custom-light: #b471cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2eb9",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 281.439,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50924,
    "c": 0.21071,
    "h": 312.8
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#8E2EB9
secondary
#92C97A
accent
#E34476
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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