#8E2EB8#8E2EB8

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

Color values

HEX#8E2EB8
RGBrgb(142, 46, 184)
HSLhsl(282, 60%, 45%)
HSVhsv(282, 75%, 72%)
CMYKcmyk(22.8%, 75%, 0%, 27.8%)
CIE-LABlab(39.86, 60.45, -54.19)
CIE-LCHlch(39.86, 81.19, 318.12°)
OKLaboklab(50.85% 0.1434 -0.1532)
OKLCHoklch(50.85% 0.21 313.1)
XYZxyz(20.7825, 11.1661, 46.3986)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EB8 #58B82E
analogous
#492EB8 #8E2EB8 #B82E9D
triadic
#8E2EB8 #B88E2E #2EB88E
tetradic
#8E2EB8 #B8492E #58B82E #2E9DB8
square
#8E2EB8 #B8492E #58B82E #2E9DB8
split-complementary
#8E2EB8 #9DB82E #2EB849
monochromatic
#421656 #682287 #8E2EB8 #AB50D3 #C381DF

Accessibility & contrast

On white

6.50
#8E2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8E2EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EB8
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EB8#FFFFFF#000000##FFFFFF
##8E2EB81.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#1F60B5
Tritanopia (blue-blind)
#894D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2eb8;
/* rgb */ color: rgb(142, 46, 184);
/* oklch */ color: oklch(50.9% 0.210 313.1);
Tailwind
colors: {
  custom: {
    50: '#b471ce',
    500: '#8e2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #8e2eb8;
$custom-light: #b471ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2eb8",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 281.739,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50853,
    "c": 0.20979,
    "h": 313.1
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#8E2EB8
secondary
#91C879
accent
#E34575
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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