#8E2BB6#8E2BB6

#8E2BB6 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.211 H 313.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8E2BB6
RGBrgb(142, 43, 182)
HSLhsl(283, 62%, 44%)
HSVhsv(283, 76%, 71%)
CMYKcmyk(22%, 76.4%, 0%, 28.6%)
CIE-LABlab(39.34, 61.14, -53.86)
CIE-LCHlch(39.34, 81.48, 318.62°)
OKLaboklab(50.44% 0.1464 -0.1521)
OKLCHoklch(50.44% 0.211 313.9)
XYZxyz(20.4612, 10.8566, 45.2646)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BB6 #53B62B
analogous
#492BB6 #8E2BB6 #B62B99
triadic
#8E2BB6 #B68E2B #2BB68E
tetradic
#8E2BB6 #B6492B #53B62B #2B99B6
square
#8E2BB6 #B6492B #53B62B #2B99B6
split-complementary
#8E2BB6 #99B62B #2BB649
monochromatic
#411453 #671F84 #8E2BB6 #AC4AD4 #C37BE0

Accessibility & contrast

On white

6.62
#8E2BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8E2BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BB6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BB6#FFFFFF#000000##FFFFFF
##8E2BB61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#1F5FB3
Tritanopia (blue-blind)
#8A4B6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e2bb6;
/* rgb */ color: rgb(142, 43, 182);
/* oklch */ color: oklch(50.4% 0.211 313.9);
Tailwind
colors: {
  custom: {
    50: '#b46fcd',
    500: '#8e2bb6',
    950: '#000000',
  },
}
SCSS
$custom: #8e2bb6;
$custom-light: #b46fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2bb6",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 282.734,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.21113,
    "h": 313.9
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

primary
#8E2BB6
secondary
#8DC875
accent
#E54372
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8E2BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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