#8B5BF5#8B5BF5

#8B5BF5 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.219 H 293.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8B5BF5
RGBrgb(139, 91, 245)
HSLhsl(259, 89%, 66%)
HSVhsv(259, 63%, 96%)
CMYKcmyk(43.3%, 62.9%, 0%, 3.9%)
CIE-LABlab(51.34, 53.42, -70.56)
CIE-LCHlch(51.34, 88.50, 307.13°)
OKLaboklab(60.35% 0.0857 -0.2016)
OKLCHoklch(60.35% 0.219 293)
XYZxyz(30.8655, 19.5628, 88.5183)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BF5 #C5F55B
analogous
#5B78F5 #8B5BF5 #D85BF5
triadic
#8B5BF5 #F58B5B #5BF58B
tetradic
#8B5BF5 #F55B78 #C5F55B #5BF5D8
square
#8B5BF5 #F55B78 #C5F55B #5BF5D8
split-complementary
#8B5BF5 #F5D85B #78F55B
monochromatic
#470CC9 #6221F1 #8B5BF5 #B495F9 #DDCEFC

Accessibility & contrast

On white

4.27
#8B5BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8B5BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BF5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BF5#FFFFFF#000000##000000
##8B5BF51.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#6D7FA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5bf5;
/* rgb */ color: rgb(139, 91, 245);
/* oklch */ color: oklch(60.3% 0.219 293.0);
Tailwind
colors: {
  custom: {
    50: '#b48cf9',
    500: '#8b5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bf5;
$custom-light: #b48cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bf5",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 258.701,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60348,
    "c": 0.21901,
    "h": 293
  },
  "luminance": 0.19564
}

Semantic roles & 50–950 ramp

primary
#8B5BF5
secondary
#DFEFBC
accent
#E5009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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