#8B5BEF#8B5BEF

#8B5BEF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.212 H 294.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8B5BEF
RGBrgb(139, 91, 239)
HSLhsl(259, 82%, 65%)
HSVhsv(259, 62%, 94%)
CMYKcmyk(41.8%, 61.9%, 0%, 6.3%)
CIE-LABlab(50.92, 51.84, -67.88)
CIE-LCHlch(50.92, 85.41, 307.37°)
OKLaboklab(59.92% 0.0862 -0.1937)
OKLCHoklch(59.92% 0.212 294)
XYZxyz(29.9643, 19.2024, 83.7723)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BEF #BFEF5B
analogous
#5B75EF #8B5BEF #D55BEF
triadic
#8B5BEF #EF8B5B #5BEF8B
tetradic
#8B5BEF #EF5B75 #BFEF5B #5BEFD5
square
#8B5BEF #EF5B75 #BFEF5B #5BEFD5
split-complementary
#8B5BEF #EFD55B #75EF5B
monochromatic
#4A12BD #6423EA #8B5BEF #B293F4 #DACBFA

Accessibility & contrast

On white

4.34
#8B5BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8B5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BEF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BEF#FFFFFF#000000##000000
##8B5BEF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#707D9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5bef;
/* rgb */ color: rgb(139, 91, 239);
/* oklch */ color: oklch(59.9% 0.212 294.0);
Tailwind
colors: {
  custom: {
    50: '#b38cf5',
    500: '#8b5bef',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bef;
$custom-light: #b38cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bef",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 259.459,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59915,
    "c": 0.21198,
    "h": 294
  },
  "luminance": 0.19203
}

Semantic roles & 50–950 ramp

primary
#8B5BEF
secondary
#DCECBA
accent
#DF0799
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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