#8B5BB2#8B5BB2

#8B5BB2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.0% C 0.138 H 308.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8B5BB2
RGBrgb(139, 91, 178)
HSLhsl(273, 36%, 53%)
HSVhsv(273, 49%, 70%)
CMYKcmyk(21.9%, 48.9%, 0%, 30.2%)
CIE-LABlab(47.22, 36.46, -38.93)
CIE-LCHlch(47.22, 53.34, 313.13°)
OKLaboklab(56% 0.0851 -0.1088)
OKLCHoklch(56% 0.138 308)
XYZxyz(22.4229, 16.1858, 44.0538)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BB2 #82B25B
analogous
#5F5BB2 #8B5BB2 #B25BAE
triadic
#8B5BB2 #B28B5B #5BB28B
tetradic
#8B5BB2 #B25F5B #82B25B #5BAEB2
square
#8B5BB2 #B25F5B #82B25B #5BAEB2
split-complementary
#8B5BB2 #AEB25B #5BB25F
monochromatic
#4C2F64 #6C428D #8B5BB2 #A885C6 #C6AED9

Accessibility & contrast

On white

4.96
#8B5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8B5BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5BB2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BB2#FFFFFF#000000##FFFFFF
##8B5BB21.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#866A7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b5bb2;
/* rgb */ color: rgb(139, 91, 178);
/* oklch */ color: oklch(56.0% 0.138 308.0);
Tailwind
colors: {
  custom: {
    50: '#af8bc9',
    500: '#8b5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bb2;
$custom-light: #af8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bb2",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 273.103,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.13812,
    "h": 308
  },
  "luminance": 0.16185
}

Semantic roles & 50–950 ramp

primary
#8B5BB2
secondary
#B2C7A2
accent
#CC5C8E
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8B5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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