#8B5BB0#8B5BB0

#8B5BB0 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.136 H 308.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8B5BB0
RGBrgb(139, 91, 176)
HSLhsl(274, 35%, 52%)
HSVhsv(274, 48%, 69%)
CMYKcmyk(21%, 48.3%, 0%, 31%)
CIE-LABlab(47.11, 35.99, -37.92)
CIE-LCHlch(47.11, 52.28, 313.50°)
OKLaboklab(55.89% 0.0848 -0.1059)
OKLCHoklch(55.89% 0.136 308.7)
XYZxyz(22.2235, 16.1060, 43.0039)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BB0 #80B05B
analogous
#615BB0 #8B5BB0 #B05BAB
triadic
#8B5BB0 #B08B5B #5BB08B
tetradic
#8B5BB0 #B0615B #80B05B #5BABB0
square
#8B5BB0 #B0615B #80B05B #5BABB0
split-complementary
#8B5BB0 #ABB05B #5BB061
monochromatic
#4C2F62 #6C438B #8B5BB0 #A884C4 #C5AED8

Accessibility & contrast

On white

4.97
#8B5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8B5BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5BB0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BB0#FFFFFF#000000##FFFFFF
##8B5BB01.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466EB3
Deuteranopia (green-blind)
#5370AE
Tritanopia (blue-blind)
#86697D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b5bb0;
/* rgb */ color: rgb(139, 91, 176);
/* oklch */ color: oklch(55.9% 0.136 308.7);
Tailwind
colors: {
  custom: {
    50: '#af8bc8',
    500: '#8b5bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bb0;
$custom-light: #af8bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bb0",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 273.882,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.13567,
    "h": 308.7
  },
  "luminance": 0.16106
}

Semantic roles & 50–950 ramp

primary
#8B5BB0
secondary
#B1C6A1
accent
#CB5D8D
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8B5BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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