#8E5BB0#8E5BB0

#8E5BB0 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.137 H 310.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8E5BB0
RGBrgb(142, 91, 176)
HSLhsl(276, 35%, 52%)
HSVhsv(276, 48%, 69%)
CMYKcmyk(19.3%, 48.3%, 0%, 31%)
CIE-LABlab(47.45, 36.85, -37.36)
CIE-LCHlch(47.45, 52.48, 314.61°)
OKLaboklab(56.22% 0.0886 -0.1042)
OKLCHoklch(56.22% 0.137 310.4)
XYZxyz(22.7314, 16.3679, 43.0277)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BB0 #7DB05B
analogous
#645BB0 #8E5BB0 #B05BA7
triadic
#8E5BB0 #B08E5B #5BB08E
tetradic
#8E5BB0 #B0645B #7DB05B #5BA7B0
square
#8E5BB0 #B0645B #7DB05B #5BA7B0
split-complementary
#8E5BB0 #A7B05B #5BB064
monochromatic
#4D2F62 #6E438B #8E5BB0 #AA84C4 #C7AED8

Accessibility & contrast

On white

4.91
#8E5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8E5BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5BB0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BB0#FFFFFF#000000##FFFFFF
##8E5BB01.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476EB3
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#8A697D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8e5bb0;
/* rgb */ color: rgb(142, 91, 176);
/* oklch */ color: oklch(56.2% 0.137 310.4);
Tailwind
colors: {
  custom: {
    50: '#b18bc8',
    500: '#8e5bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bb0;
$custom-light: #b18bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bb0",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 276,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.13676,
    "h": 310.4
  },
  "luminance": 0.16368
}

Semantic roles & 50–950 ramp

primary
#8E5BB0
secondary
#B0C6A1
accent
#CB5D89
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8E5BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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