#8E5BAE#8E5BAE

#8E5BAE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.1% C 0.134 H 311.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8E5BAE
RGBrgb(142, 91, 174)
HSLhsl(277, 34%, 52%)
HSVhsv(277, 48%, 68%)
CMYKcmyk(18.4%, 47.7%, 0%, 31.8%)
CIE-LABlab(47.35, 36.40, -36.35)
CIE-LCHlch(47.35, 51.44, 315.03°)
OKLaboklab(56.11% 0.0883 -0.1013)
OKLCHoklch(56.11% 0.134 311.1)
XYZxyz(22.5350, 16.2894, 41.9932)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BAE #7BAE5B
analogous
#645BAE #8E5BAE #AE5BA5
triadic
#8E5BAE #AE8E5B #5BAE8E
tetradic
#8E5BAE #AE645B #7BAE5B #5BA5AE
square
#8E5BAE #AE645B #7BAE5B #5BA5AE
split-complementary
#8E5BAE #A5AE5B #5BAE64
monochromatic
#4D2F5F #6E4388 #8E5BAE #AA84C2 #C6ADD6

Accessibility & contrast

On white

4.93
#8E5BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8E5BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5BAE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BAE#FFFFFF#000000##FFFFFF
##8E5BAE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486EB1
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#8A687C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e5bae;
/* rgb */ color: rgb(142, 91, 174);
/* oklch */ color: oklch(56.1% 0.134 311.1);
Tailwind
colors: {
  custom: {
    50: '#b18bc6',
    500: '#8e5bae',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bae;
$custom-light: #b18bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bae",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 276.867,
    "s": 33.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.13437,
    "h": 311.1
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#8E5BAE
secondary
#AEC5A0
accent
#CA5E88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8E5BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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