#8B5BF6#8B5BF6

#8B5BF6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.220 H 292.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8B5BF6
RGBrgb(139, 91, 246)
HSLhsl(259, 90%, 66%)
HSVhsv(259, 63%, 96%)
CMYKcmyk(43.5%, 63%, 0%, 3.5%)
CIE-LABlab(51.41, 53.68, -71.00)
CIE-LCHlch(51.41, 89.01, 307.09°)
OKLaboklab(60.42% 0.0856 -0.2029)
OKLCHoklch(60.42% 0.22 292.9)
XYZxyz(31.0185, 19.6240, 89.3244)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BF6 #C6F65B
analogous
#5B78F6 #8B5BF6 #D95BF6
triadic
#8B5BF6 #F68B5B #5BF68B
tetradic
#8B5BF6 #F65B78 #C6F65B #5BF6D9
square
#8B5BF6 #F65B78 #C6F65B #5BF6D9
split-complementary
#8B5BF6 #F6D95B #78F65B
monochromatic
#470BCB #6221F3 #8B5BF6 #B495F9 #DDCFFC

Accessibility & contrast

On white

4.26
#8B5BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8B5BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BF6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BF6#FFFFFF#000000##000000
##8B5BF61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#6C7FA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5bf6;
/* rgb */ color: rgb(139, 91, 246);
/* oklch */ color: oklch(60.4% 0.220 292.9);
Tailwind
colors: {
  custom: {
    50: '#b48cfa',
    500: '#8b5bf6',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bf6;
$custom-light: #b48cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bf6",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 246
  },
  "hsl": {
    "h": 258.581,
    "s": 89.595,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60421,
    "c": 0.22018,
    "h": 292.9
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#8B5BF6
secondary
#E0F0BD
accent
#E6009E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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