#8E2EB4#8E2EB4

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

Color values

HEX#8E2EB4
RGBrgb(142, 46, 180)
HSLhsl(283, 59%, 44%)
HSVhsv(283, 74%, 71%)
CMYKcmyk(21.1%, 74.4%, 0%, 29.4%)
CIE-LABlab(39.58, 59.64, -52.28)
CIE-LCHlch(39.58, 79.31, 318.76°)
OKLaboklab(50.57% 0.144 -0.1475)
OKLCHoklch(50.57% 0.206 314.3)
XYZxyz(20.3692, 11.0008, 44.2215)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2EB4 #54B42E
analogous
#4B2EB4 #8E2EB4 #B42E97
triadic
#8E2EB4 #B48E2E #2EB48E
tetradic
#8E2EB4 #B44B2E #54B42E #2E97B4
square
#8E2EB4 #B44B2E #54B42E #2E97B4
split-complementary
#8E2EB4 #97B42E #2EB44B
monochromatic
#411553 #682283 #8E2EB4 #AC4ED2 #C37EDE

Accessibility & contrast

On white

6.56
#8E2EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8E2EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2EB4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2EB4#FFFFFF#000000##FFFFFF
##8E2EB41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#2560B1
Tritanopia (blue-blind)
#8A4C6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2eb4;
/* rgb */ color: rgb(142, 46, 180);
/* oklch */ color: oklch(50.6% 0.206 314.3);
Tailwind
colors: {
  custom: {
    50: '#b371cb',
    500: '#8e2eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8e2eb4;
$custom-light: #b371cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2eb4",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 282.985,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50569,
    "c": 0.20614,
    "h": 314.3
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#8E2EB4
secondary
#8EC777
accent
#E24572
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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