#8B5CF3#8B5CF3

#8B5CF3 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.215 H 293.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8B5CF3
RGBrgb(139, 92, 243)
HSLhsl(259, 86%, 66%)
HSVhsv(259, 62%, 95%)
CMYKcmyk(42.8%, 62.1%, 0%, 4.7%)
CIE-LABlab(51.40, 52.36, -69.35)
CIE-LCHlch(51.40, 86.89, 307.05°)
OKLaboklab(60.35% 0.0848 -0.198)
OKLCHoklch(60.35% 0.215 293.2)
XYZxyz(30.6479, 19.6135, 86.9476)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CF3 #C4F35C
analogous
#5C79F3 #8B5CF3 #D65CF3
triadic
#8B5CF3 #F38B5C #5CF38B
tetradic
#8B5CF3 #F35C79 #C4F35C #5CF3D6
square
#8B5CF3 #F35C79 #C4F35C #5CF3D6
split-complementary
#8B5CF3 #F3D65C #79F35C
monochromatic
#480FC6 #6223EF #8B5CF3 #B495F7 #DCCEFB

Accessibility & contrast

On white

4.27
#8B5CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8B5CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5CF3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CF3#FFFFFF#000000##000000
##8B5CF31.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#6E7F9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b5cf3;
/* rgb */ color: rgb(139, 92, 243);
/* oklch */ color: oklch(60.3% 0.215 293.2);
Tailwind
colors: {
  custom: {
    50: '#b48cf8',
    500: '#8b5cf3',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cf3;
$custom-light: #b48cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cf3",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 258.675,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60346,
    "c": 0.21539,
    "h": 293.2
  },
  "luminance": 0.19614
}

Semantic roles & 50–950 ramp

primary
#8B5CF3
secondary
#DFEFBC
accent
#E3039D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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