#8B5AEB#8B5AEB

#8B5AEB is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.5% C 0.209 H 294.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8B5AEB
RGBrgb(139, 90, 235)
HSLhsl(260, 78%, 64%)
HSVhsv(260, 62%, 92%)
CMYKcmyk(40.9%, 61.7%, 0%, 7.8%)
CIE-LABlab(50.45, 51.32, -66.40)
CIE-LCHlch(50.45, 83.92, 307.70°)
OKLaboklab(59.49% 0.0875 -0.1893)
OKLCHoklch(59.49% 0.209 294.8)
XYZxyz(29.2950, 18.7988, 80.6662)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AEB #BAEB5A
analogous
#5A71EB #8B5AEB #D35AEB
triadic
#8B5AEB #EB8B5A #5AEB8B
tetradic
#8B5AEB #EB5A71 #BAEB5A #5AEBD3
square
#8B5AEB #EB5A71 #BAEB5A #5AEBD3
split-complementary
#8B5AEB #EBD35A #71EB5A
monochromatic
#4C16B5 #6523E4 #8B5AEB #B191F2 #D8C7F8

Accessibility & contrast

On white

4.41
#8B5AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8B5AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5AEB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AEB#FFFFFF#000000##000000
##8B5AEB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#727B9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b5aeb;
/* rgb */ color: rgb(139, 90, 235);
/* oklch */ color: oklch(59.5% 0.209 294.8);
Tailwind
colors: {
  custom: {
    50: '#b38bf2',
    500: '#8b5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8b5aeb;
$custom-light: #b38bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5aeb",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 260.276,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59485,
    "c": 0.20858,
    "h": 294.8
  },
  "luminance": 0.18799
}

Semantic roles & 50–950 ramp

primary
#8B5AEB
secondary
#D9EAB7
accent
#DB0B94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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