#8B5AEC#8B5AEC

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

Color values

HEX#8B5AEC
RGBrgb(139, 90, 236)
HSLhsl(260, 79%, 64%)
HSVhsv(260, 62%, 93%)
CMYKcmyk(41.1%, 61.9%, 0%, 7.5%)
CIE-LABlab(50.52, 51.58, -66.85)
CIE-LCHlch(50.52, 84.44, 307.65°)
OKLaboklab(59.56% 0.0875 -0.1907)
OKLCHoklch(59.56% 0.21 294.6)
XYZxyz(29.4399, 18.8567, 81.4292)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AEC #BBEC5A
analogous
#5A72EC #8B5AEC #D45AEC
triadic
#8B5AEC #EC8B5A #5AEC8B
tetradic
#8B5AEC #EC5A72 #BBEC5A #5AECD4
square
#8B5AEC #EC5A72 #BBEC5A #5AECD4
split-complementary
#8B5AEC #ECD45A #72EC5A
monochromatic
#4B15B7 #6423E6 #8B5AEC #B291F2 #D8C8F9

Accessibility & contrast

On white

4.40
#8B5AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#8B5AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5AEC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AEC#FFFFFF#000000##000000
##8B5AEC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#717B9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b5aec;
/* rgb */ color: rgb(139, 90, 236);
/* oklch */ color: oklch(59.6% 0.210 294.6);
Tailwind
colors: {
  custom: {
    50: '#b38bf3',
    500: '#8b5aec',
    950: '#000000',
  },
}
SCSS
$custom: #8b5aec;
$custom-light: #b38bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5aec",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 260.137,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59556,
    "c": 0.20976,
    "h": 294.6
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#8B5AEC
secondary
#D9EBB7
accent
#DC0A95
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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