#8B5BF8#8B5BF8

#8B5BF8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.223 H 292.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B5BF8
RGBrgb(139, 91, 248)
HSLhsl(258, 92%, 66%)
HSVhsv(258, 63%, 97%)
CMYKcmyk(44%, 63.3%, 0%, 2.7%)
CIE-LABlab(51.55, 54.21, -71.89)
CIE-LCHlch(51.55, 90.04, 307.02°)
OKLaboklab(60.57% 0.0854 -0.2055)
OKLCHoklch(60.57% 0.223 292.6)
XYZxyz(31.3272, 19.7475, 90.9498)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BF8 #C8F85B
analogous
#5B7AF8 #8B5BF8 #DA5BF8
triadic
#8B5BF8 #F88B5B #5BF88B
tetradic
#8B5BF8 #F85B7A #C8F85B #5BF8DA
square
#8B5BF8 #F85B7A #C8F85B #5BF8DA
split-complementary
#8B5BF8 #F8DA5B #7AF85B
monochromatic
#4609D0 #6120F5 #8B5BF8 #B596FB #DED0FD

Accessibility & contrast

On white

4.24
#8B5BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8B5BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BF8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BF8#FFFFFF#000000##000000
##8B5BF81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#6B80A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b5bf8;
/* rgb */ color: rgb(139, 91, 248);
/* oklch */ color: oklch(60.6% 0.223 292.6);
Tailwind
colors: {
  custom: {
    50: '#b48cfc',
    500: '#8b5bf8',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bf8;
$custom-light: #b48cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bf8",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 258.344,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60567,
    "c": 0.22251,
    "h": 292.6
  },
  "luminance": 0.19748
}

Semantic roles & 50–950 ramp

primary
#8B5BF8
secondary
#E1F1BE
accent
#E6009F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8B5BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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