#8E2BB8#8E2BB8

#8E2BB8 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.213 H 313.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8E2BB8
RGBrgb(142, 43, 184)
HSLhsl(282, 62%, 45%)
HSVhsv(282, 77%, 72%)
CMYKcmyk(22.8%, 76.6%, 0%, 27.8%)
CIE-LABlab(39.48, 61.54, -54.81)
CIE-LCHlch(39.48, 82.41, 318.31°)
OKLaboklab(50.58% 0.1461 -0.1549)
OKLCHoklch(50.58% 0.213 313.3)
XYZxyz(20.6694, 10.9399, 46.3609)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BB8 #55B82B
analogous
#482BB8 #8E2BB8 #B82B9C
triadic
#8E2BB8 #B88E2B #2BB88E
tetradic
#8E2BB8 #B8482B #55B82B #2B9CB8
square
#8E2BB8 #B8482B #55B82B #2B9CB8
split-complementary
#8E2BB8 #9CB82B #2BB848
monochromatic
#411455 #681F86 #8E2BB8 #AC4BD5 #C37DE1

Accessibility & contrast

On white

6.59
#8E2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8E2BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BB8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BB8#FFFFFF#000000##FFFFFF
##8E2BB81.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#1B5FB5
Tritanopia (blue-blind)
#894C71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2bb8;
/* rgb */ color: rgb(142, 43, 184);
/* oklch */ color: oklch(50.6% 0.213 313.3);
Tailwind
colors: {
  custom: {
    50: '#b46fce',
    500: '#8e2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bb8;
$custom-light: #b46fce;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bb8",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 282.128,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50584,
    "c": 0.21293,
    "h": 313.3
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#8E2BB8
secondary
#8FC976
accent
#E54373
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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