#8E2EBB#8E2EBB

#8E2EBB is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.213 H 312.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8E2EBB
RGBrgb(142, 46, 187)
HSLhsl(281, 61%, 46%)
HSVhsv(281, 75%, 73%)
CMYKcmyk(24.1%, 75.4%, 0%, 26.7%)
CIE-LABlab(40.07, 61.07, -55.62)
CIE-LCHlch(40.07, 82.60, 317.68°)
OKLaboklab(51.07% 0.1429 -0.1573)
OKLCHoklch(51.07% 0.213 312.2)
XYZxyz(21.1003, 11.2932, 48.0724)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EBB #5BBB2E
analogous
#472EBB #8E2EBB #BB2EA1
triadic
#8E2EBB #BB8E2E #2EBB8E
tetradic
#8E2EBB #BB472E #5BBB2E #2EA1BB
square
#8E2EBB #BB472E #5BBB2E #2EA1BB
split-complementary
#8E2EBB #A1BB2E #2EBB47
monochromatic
#431659 #69228A #8E2EBB #AB52D4 #C383E0

Accessibility & contrast

On white

6.44
#8E2EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8E2EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EBB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EBB#FFFFFF#000000##FFFFFF
##8E2EBB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#1960B8
Tritanopia (blue-blind)
#894F73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2ebb;
/* rgb */ color: rgb(142, 46, 187);
/* oklch */ color: oklch(51.1% 0.213 312.2);
Tailwind
colors: {
  custom: {
    50: '#b471d0',
    500: '#8e2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ebb;
$custom-light: #b471d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ebb",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 280.851,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51069,
    "c": 0.21254,
    "h": 312.2
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#8E2EBB
secondary
#94CA7B
accent
#E44477
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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