#8E2BB7#8E2BB7

#8E2BB7 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.212 H 313.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8E2BB7
RGBrgb(142, 43, 183)
HSLhsl(282, 62%, 44%)
HSVhsv(282, 77%, 72%)
CMYKcmyk(22.4%, 76.5%, 0%, 28.2%)
CIE-LABlab(39.41, 61.34, -54.33)
CIE-LCHlch(39.41, 81.94, 318.47°)
OKLaboklab(50.51% 0.1462 -0.1535)
OKLCHoklch(50.51% 0.212 313.6)
XYZxyz(20.5650, 10.8981, 45.8108)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BB7 #54B72B
analogous
#482BB7 #8E2BB7 #B72B9A
triadic
#8E2BB7 #B78E2B #2BB78E
tetradic
#8E2BB7 #B7482B #54B72B #2B9AB7
square
#8E2BB7 #B7482B #54B72B #2B9AB7
split-complementary
#8E2BB7 #9AB72B #2BB748
monochromatic
#411454 #681F85 #8E2BB7 #AC4BD5 #C37CE0

Accessibility & contrast

On white

6.61
#8E2BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8E2BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BB7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BB7#FFFFFF#000000##FFFFFF
##8E2BB71.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#1D5FB4
Tritanopia (blue-blind)
#8A4B70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2bb7;
/* rgb */ color: rgb(142, 43, 183);
/* oklch */ color: oklch(50.5% 0.212 313.6);
Tailwind
colors: {
  custom: {
    50: '#b46fcd',
    500: '#8e2bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bb7;
$custom-light: #b46fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bb7",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 282.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50512,
    "c": 0.21203,
    "h": 313.6
  },
  "luminance": 0.10897
}

Semantic roles & 50–950 ramp

primary
#8E2BB7
secondary
#8EC975
accent
#E54372
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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