#8B5BDA#8B5BDA

#8B5BDA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.5% C 0.187 H 297.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8B5BDA
RGBrgb(139, 91, 218)
HSLhsl(263, 63%, 61%)
HSVhsv(263, 58%, 85%)
CMYKcmyk(36.2%, 58.3%, 0%, 14.5%)
CIE-LABlab(49.54, 46.37, -58.27)
CIE-LCHlch(49.54, 74.47, 308.51°)
OKLaboklab(58.46% 0.0871 -0.1654)
OKLCHoklch(58.46% 0.187 297.8)
XYZxyz(27.0403, 18.0327, 68.3721)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BDA #AADA5B
analogous
#5B6ADA #8B5BDA #CA5BDA
triadic
#8B5BDA #DA8B5B #5BDA8B
tetradic
#8B5BDA #DA5B6A #AADA5B #5BDACA
square
#8B5BDA #DA5B6A #AADA5B #5BDACA
split-complementary
#8B5BDA #DACA5B #6ADA5B
monochromatic
#4F2298 #692ECA #8B5BDA #AE8DE5 #D2BFF1

Accessibility & contrast

On white

4.56
#8B5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8B5BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BDA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BDA#FFFFFF#000000##000000
##8B5BDA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1176DE
Deuteranopia (green-blind)
#2C74D7
Tritanopia (blue-blind)
#797692
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5bda;
/* rgb */ color: rgb(139, 91, 218);
/* oklch */ color: oklch(58.5% 0.187 297.8);
Tailwind
colors: {
  custom: {
    50: '#b18be6',
    500: '#8b5bda',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bda;
$custom-light: #b18be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bda",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 262.677,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58462,
    "c": 0.18697,
    "h": 297.8
  },
  "luminance": 0.18033
}

Semantic roles & 50–950 ramp

primary
#8B5BDA
secondary
#CEE1B0
accent
#CB1B88
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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