#8B5AEA#8B5AEA

#8B5AEA is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.207 H 295.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8B5AEA
RGBrgb(139, 90, 234)
HSLhsl(260, 77%, 64%)
HSVhsv(260, 62%, 92%)
CMYKcmyk(40.6%, 61.5%, 0%, 8.2%)
CIE-LABlab(50.38, 51.06, -65.95)
CIE-LCHlch(50.38, 83.40, 307.75°)
OKLaboklab(59.41% 0.0876 -0.188)
OKLCHoklch(59.41% 0.207 295)
XYZxyz(29.1510, 18.7411, 79.9075)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AEA #B9EA5A
analogous
#5A71EA #8B5AEA #D35AEA
triadic
#8B5AEA #EA8B5A #5AEA8B
tetradic
#8B5AEA #EA5A71 #B9EA5A #5AEAD3
square
#8B5AEA #EA5A71 #B9EA5A #5AEAD3
split-complementary
#8B5AEA #EAD35A #71EA5A
monochromatic
#4C17B3 #6524E3 #8B5AEA #B190F1 #D7C7F8

Accessibility & contrast

On white

4.42
#8B5AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8B5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5AEA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AEA#FFFFFF#000000##000000
##8B5AEA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b5aea;
/* rgb */ color: rgb(139, 90, 234);
/* oklch */ color: oklch(59.4% 0.207 295.0);
Tailwind
colors: {
  custom: {
    50: '#b38bf2',
    500: '#8b5aea',
    950: '#000000',
  },
}
SCSS
$custom: #8b5aea;
$custom-light: #b38bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5aea",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 260.417,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.2074,
    "h": 295
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#8B5AEA
secondary
#D8E9B6
accent
#DA0C94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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