#8B5CF0#8B5CF0

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

Color values

HEX#8B5CF0
RGBrgb(139, 92, 240)
HSLhsl(259, 83%, 65%)
HSVhsv(259, 62%, 94%)
CMYKcmyk(42.1%, 61.7%, 0%, 5.9%)
CIE-LABlab(51.19, 51.57, -68.01)
CIE-LCHlch(51.19, 85.35, 307.17°)
OKLaboklab(60.13% 0.085 -0.194)
OKLCHoklch(60.13% 0.212 293.7)
XYZxyz(30.1985, 19.4337, 84.5812)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CF0 #C1F05C
analogous
#5C77F0 #8B5CF0 #D55CF0
triadic
#8B5CF0 #F08B5C #5CF08B
tetradic
#8B5CF0 #F05C77 #C1F05C #5CF0D5
square
#8B5CF0 #F05C77 #C1F05C #5CF0D5
split-complementary
#8B5CF0 #F0D55C #77F05C
monochromatic
#4912C0 #6324EB #8B5CF0 #B394F5 #DBCCFA

Accessibility & contrast

On white

4.30
#8B5CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8B5CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5CF0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CF0#FFFFFF#000000##000000
##8B5CF01.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#6F7E9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5cf0;
/* rgb */ color: rgb(139, 92, 240);
/* oklch */ color: oklch(60.1% 0.212 293.7);
Tailwind
colors: {
  custom: {
    50: '#b38cf6',
    500: '#8b5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cf0;
$custom-light: #b38cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cf0",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 259.054,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.21185,
    "h": 293.7
  },
  "luminance": 0.19435
}

Semantic roles & 50–950 ramp

primary
#8B5CF0
secondary
#DDEDBB
accent
#E0069A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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