#8E2EB5#8E2EB5

#8E2EB5 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.207 H 314.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8E2EB5
RGBrgb(142, 46, 181)
HSLhsl(283, 59%, 45%)
HSVhsv(283, 75%, 71%)
CMYKcmyk(21.5%, 74.6%, 0%, 29%)
CIE-LABlab(39.65, 59.84, -52.76)
CIE-LCHlch(39.65, 79.78, 318.60°)
OKLaboklab(50.64% 0.1438 -0.1489)
OKLCHoklch(50.64% 0.207 314)
XYZxyz(20.4714, 11.0417, 44.7600)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EB5 #55B52E
analogous
#4B2EB5 #8E2EB5 #B52E98
triadic
#8E2EB5 #B58E2E #2EB58E
tetradic
#8E2EB5 #B54B2E #55B52E #2E98B5
square
#8E2EB5 #B54B2E #55B52E #2E98B5
split-complementary
#8E2EB5 #98B52E #2EB54B
monochromatic
#411553 #682284 #8E2EB5 #AC4ED2 #C37FDE

Accessibility & contrast

On white

6.55
#8E2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8E2EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EB5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EB5#FFFFFF#000000##FFFFFF
##8E2EB51.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#2460B2
Tritanopia (blue-blind)
#8A4C70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2eb5;
/* rgb */ color: rgb(142, 46, 181);
/* oklch */ color: oklch(50.6% 0.207 314.0);
Tailwind
colors: {
  custom: {
    50: '#b371cc',
    500: '#8e2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #8e2eb5;
$custom-light: #b371cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2eb5",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 282.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.20705,
    "h": 314
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#8E2EB5
secondary
#8FC778
accent
#E34573
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8E2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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