#8E2BB0#8E2BB0

#8E2BB0 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.206 H 315.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8E2BB0
RGBrgb(142, 43, 176)
HSLhsl(285, 61%, 43%)
HSVhsv(285, 76%, 69%)
CMYKcmyk(19.3%, 75.6%, 0%, 31%)
CIE-LABlab(38.92, 59.94, -50.97)
CIE-LCHlch(38.92, 78.68, 319.62°)
OKLaboklab(50.02% 0.1473 -0.1437)
OKLCHoklch(50.02% 0.206 315.7)
XYZxyz(19.8544, 10.6139, 42.0687)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BB0 #4DB02B
analogous
#4C2BB0 #8E2BB0 #B02B8F
triadic
#8E2BB0 #B08E2B #2BB08E
tetradic
#8E2BB0 #B04C2B #4DB02B #2B8FB0
square
#8E2BB0 #B04C2B #4DB02B #2B8FB0
split-complementary
#8E2BB0 #8FB02B #2BB04C
monochromatic
#3F134E #661F7F #8E2BB0 #AE46D2 #C478DE

Accessibility & contrast

On white

6.73
#8E2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8E2BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BB0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BB0#FFFFFF#000000##FFFFFF
##8E2BB01.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#8B486C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e2bb0;
/* rgb */ color: rgb(142, 43, 176);
/* oklch */ color: oklch(50.0% 0.206 315.7);
Tailwind
colors: {
  custom: {
    50: '#b36fc8',
    500: '#8e2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bb0;
$custom-light: #b36fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bb0",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 284.662,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.20578,
    "h": 315.7
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#8E2BB0
secondary
#87C671
accent
#E4446D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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