#8E5BC3#8E5BC3

#8E5BC3 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.3% C 0.160 H 304.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8E5BC3
RGBrgb(142, 91, 195)
HSLhsl(269, 46%, 56%)
HSVhsv(269, 53%, 76%)
CMYKcmyk(27.2%, 53.3%, 0%, 23.5%)
CIE-LABlab(48.48, 41.34, -46.78)
CIE-LCHlch(48.48, 62.43, 311.47°)
OKLaboklab(57.31% 0.0905 -0.1316)
OKLCHoklch(57.31% 0.16 304.5)
XYZxyz(24.7446, 17.1732, 53.6303)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BC3 #90C35B
analogous
#5B5CC3 #8E5BC3 #C25BC3
triadic
#8E5BC3 #C38E5B #5BC38E
tetradic
#8E5BC3 #C35B5C #90C35B #5BC3C2
square
#8E5BC3 #C35B5C #90C35B #5BC3C2
split-complementary
#8E5BC3 #C3C25B #5CC35B
monochromatic
#512C78 #6F3CA5 #8E5BC3 #AD88D3 #CCB5E4

Accessibility & contrast

On white

4.74
#8E5BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8E5BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5BC3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BC3#FFFFFF#000000##FFFFFF
##8E5BC31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3872C7
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#856E86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e5bc3;
/* rgb */ color: rgb(142, 91, 195);
/* oklch */ color: oklch(57.3% 0.160 304.5);
Tailwind
colors: {
  custom: {
    50: '#b28bd6',
    500: '#8e5bc3',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bc3;
$custom-light: #b28bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bc3",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 269.423,
    "s": 46.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.15972,
    "h": 304.5
  },
  "luminance": 0.17173
}

Semantic roles & 50–950 ramp

primary
#8E5BC3
secondary
#BDD2A7
accent
#D65295
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8E5BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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