#8E2BBD#8E2BBD

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

Color values

HEX#8E2BBD
RGBrgb(142, 43, 189)
HSLhsl(281, 63%, 45%)
HSVhsv(281, 77%, 74%)
CMYKcmyk(24.9%, 77.2%, 0%, 25.9%)
CIE-LABlab(39.84, 62.56, -57.17)
CIE-LCHlch(39.84, 84.75, 317.58°)
OKLaboklab(50.95% 0.1451 -0.1619)
OKLCHoklch(50.95% 0.217 311.9)
XYZxyz(21.2028, 11.1532, 49.1701)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BBD #5ABD2B
analogous
#452BBD #8E2BBD #BD2BA3
triadic
#8E2BBD #BD8E2B #2BBD8E
tetradic
#8E2BBD #BD452B #5ABD2B #2BA3BD
square
#8E2BBD #BD452B #5ABD2B #2BA3BD
split-complementary
#8E2BBD #A3BD2B #2BBD45
monochromatic
#431459 #69208B #8E2BBD #AB4ED7 #C380E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2BBD#FFFFFF#000000##FFFFFF
##8E2BBD1.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)
#0059C1
Deuteranopia (green-blind)
#0D60BA
Tritanopia (blue-blind)
#884E73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e2bbd;
/* rgb */ color: rgb(142, 43, 189);
/* oklch */ color: oklch(50.9% 0.217 311.9);
Tailwind
colors: {
  custom: {
    50: '#b470d2',
    500: '#8e2bbd',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bbd;
$custom-light: #b470d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bbd",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 280.685,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5095,
    "c": 0.21743,
    "h": 311.9
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#8E2BBD
secondary
#93CB79
accent
#E64277
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E2BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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