#8B5BF2#8B5BF2

#8B5BF2 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.215 H 293.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8B5BF2
RGBrgb(139, 91, 242)
HSLhsl(259, 85%, 65%)
HSVhsv(259, 62%, 95%)
CMYKcmyk(42.6%, 62.4%, 0%, 5.1%)
CIE-LABlab(51.13, 52.63, -69.22)
CIE-LCHlch(51.13, 86.96, 307.24°)
OKLaboklab(60.13% 0.0859 -0.1976)
OKLCHoklch(60.13% 0.216 293.5)
XYZxyz(30.4112, 19.3811, 86.1258)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BF2 #C2F25B
analogous
#5B76F2 #8B5BF2 #D75BF2
triadic
#8B5BF2 #F28B5B #5BF28B
tetradic
#8B5BF2 #F25B76 #C2F25B #5BF2D7
square
#8B5BF2 #F25B76 #C2F25B #5BF2D7
split-complementary
#8B5BF2 #F2D75B #76F25B
monochromatic
#490FC3 #6322EE #8B5BF2 #B394F6 #DBCCFB

Accessibility & contrast

On white

4.31
#8B5BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8B5BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BF2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BF2#FFFFFF#000000##000000
##8B5BF21.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#6E7E9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5bf2;
/* rgb */ color: rgb(139, 91, 242);
/* oklch */ color: oklch(60.1% 0.215 293.5);
Tailwind
colors: {
  custom: {
    50: '#b48cf7',
    500: '#8b5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bf2;
$custom-light: #b48cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bf2",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 259.073,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.2155,
    "h": 293.5
  },
  "luminance": 0.19382
}

Semantic roles & 50–950 ramp

primary
#8B5BF2
secondary
#DEEEBB
accent
#E2049B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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