#8E2BB5#8E2BB5

#8E2BB5 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.210 H 314.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8E2BB5
RGBrgb(142, 43, 181)
HSLhsl(283, 62%, 44%)
HSVhsv(283, 76%, 71%)
CMYKcmyk(21.5%, 76.2%, 0%, 29%)
CIE-LABlab(39.27, 60.94, -53.38)
CIE-LCHlch(39.27, 81.01, 318.78°)
OKLaboklab(50.37% 0.1465 -0.1507)
OKLCHoklch(50.37% 0.21 314.2)
XYZxyz(20.3583, 10.8154, 44.7223)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BB5 #52B52B
analogous
#492BB5 #8E2BB5 #B52B97
triadic
#8E2BB5 #B58E2B #2BB58E
tetradic
#8E2BB5 #B5492B #52B52B #2B97B5
square
#8E2BB5 #B5492B #52B52B #2B97B5
split-complementary
#8E2BB5 #97B52B #2BB549
monochromatic
#401452 #671F84 #8E2BB5 #AD49D4 #C37BE0

Accessibility & contrast

On white

6.64
#8E2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8E2BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BB5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BB5#FFFFFF#000000##FFFFFF
##8E2BB51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#205FB2
Tritanopia (blue-blind)
#8A4B6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e2bb5;
/* rgb */ color: rgb(142, 43, 181);
/* oklch */ color: oklch(50.4% 0.210 314.2);
Tailwind
colors: {
  custom: {
    50: '#b36fcc',
    500: '#8e2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bb5;
$custom-light: #b36fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bb5",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 283.043,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50369,
    "c": 0.21024,
    "h": 314.2
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#8E2BB5
secondary
#8CC874
accent
#E54371
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8E2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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