#8B5AEE#8B5AEE

#8B5AEE is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.212 H 294.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8B5AEE
RGBrgb(139, 90, 238)
HSLhsl(260, 81%, 64%)
HSVhsv(260, 62%, 93%)
CMYKcmyk(41.6%, 62.2%, 0%, 6.7%)
CIE-LABlab(50.66, 52.10, -67.75)
CIE-LCHlch(50.66, 85.47, 307.56°)
OKLaboklab(59.7% 0.0873 -0.1933)
OKLCHoklch(59.7% 0.212 294.3)
XYZxyz(29.7321, 18.9736, 82.9681)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AEE #BDEE5A
analogous
#5A73EE #8B5AEE #D55AEE
triadic
#8B5AEE #EE8B5A #5AEE8B
tetradic
#8B5AEE #EE5A73 #BDEE5A #5AEED5
square
#8B5AEE #EE5A73 #BDEE5A #5AEED5
split-complementary
#8B5AEE #EED55A #73EE5A
monochromatic
#4B13BA #6423E8 #8B5AEE #B291F4 #D9C9F9

Accessibility & contrast

On white

4.38
#8B5AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8B5AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5AEE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AEE#FFFFFF#000000##000000
##8B5AEE1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#707C9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5aee;
/* rgb */ color: rgb(139, 90, 238);
/* oklch */ color: oklch(59.7% 0.212 294.3);
Tailwind
colors: {
  custom: {
    50: '#b38bf4',
    500: '#8b5aee',
    950: '#000000',
  },
}
SCSS
$custom: #8b5aee;
$custom-light: #b38bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5aee",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 259.865,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59699,
    "c": 0.2121,
    "h": 294.3
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#8B5AEE
secondary
#DBECB8
accent
#DE0897
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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