#8E5BBF#8E5BBF

#8E5BBF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.155 H 305.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8E5BBF
RGBrgb(142, 91, 191)
HSLhsl(271, 44%, 55%)
HSVhsv(271, 52%, 75%)
CMYKcmyk(25.7%, 52.4%, 0%, 25.1%)
CIE-LABlab(48.25, 40.38, -44.82)
CIE-LCHlch(48.25, 60.33, 312.01°)
OKLaboklab(57.08% 0.0902 -0.1259)
OKLCHoklch(57.08% 0.155 305.6)
XYZxyz(24.2984, 16.9947, 51.2803)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5BBF #8CBF5B
analogous
#5C5BBF #8E5BBF #BF5BBE
triadic
#8E5BBF #BF8E5B #5BBF8E
tetradic
#8E5BBF #BF5C5B #8CBF5B #5BBEBF
square
#8E5BBF #BF5C5B #8CBF5B #5BBEBF
split-complementary
#8E5BBF #BEBF5B #5BBF5C
monochromatic
#502D73 #6F3E9F #8E5BBF #AC87D0 #CBB3E1

Accessibility & contrast

On white

4.77
#8E5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8E5BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5BBF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5BBF#FFFFFF#000000##FFFFFF
##8E5BBF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C2
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#866D84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e5bbf;
/* rgb */ color: rgb(142, 91, 191);
/* oklch */ color: oklch(57.1% 0.155 305.6);
Tailwind
colors: {
  custom: {
    50: '#b28bd3',
    500: '#8e5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #8e5bbf;
$custom-light: #b28bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5bbf",
  "rgb": {
    "r": 142,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 270.6,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57075,
    "c": 0.15488,
    "h": 305.6
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#8E5BBF
secondary
#BAD0A6
accent
#D45493
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8E5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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