#8B5AED#8B5AED

#8B5AED is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.211 H 294.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8B5AED
RGBrgb(139, 90, 237)
HSLhsl(260, 80%, 64%)
HSVhsv(260, 62%, 93%)
CMYKcmyk(41.4%, 62%, 0%, 7.1%)
CIE-LABlab(50.59, 51.84, -67.30)
CIE-LCHlch(50.59, 84.95, 307.61°)
OKLaboklab(59.63% 0.0874 -0.192)
OKLCHoklch(59.63% 0.211 294.5)
XYZxyz(29.5856, 18.9150, 82.1965)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AED #BCED5A
analogous
#5A73ED #8B5AED #D55AED
triadic
#8B5AED #ED8B5A #5AED8B
tetradic
#8B5AED #ED5A73 #BCED5A #5AEDD5
square
#8B5AED #ED5A73 #BCED5A #5AEDD5
split-complementary
#8B5AED #EDD55A #73ED5A
monochromatic
#4B14B8 #6423E7 #8B5AED #B291F3 #D9C8F9

Accessibility & contrast

On white

4.39
#8B5AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8B5AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5AED
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AED#FFFFFF#000000##000000
##8B5AED1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#717C9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b5aed;
/* rgb */ color: rgb(139, 90, 237);
/* oklch */ color: oklch(59.6% 0.211 294.5);
Tailwind
colors: {
  custom: {
    50: '#b38bf4',
    500: '#8b5aed',
    950: '#000000',
  },
}
SCSS
$custom: #8b5aed;
$custom-light: #b38bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5aed",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 260,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59628,
    "c": 0.21093,
    "h": 294.5
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#8B5AED
secondary
#DAEBB8
accent
#DD0996
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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