#8B5AE2#8B5AE2

#8B5AE2 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.198 H 296.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8B5AE2
RGBrgb(139, 90, 226)
HSLhsl(262, 70%, 62%)
HSVhsv(262, 60%, 89%)
CMYKcmyk(38.5%, 60.2%, 0%, 11.4%)
CIE-LABlab(49.85, 48.97, -62.30)
CIE-LCHlch(49.85, 79.25, 308.17°)
OKLaboklab(58.86% 0.088 -0.1773)
OKLCHoklch(58.86% 0.198 296.4)
XYZxyz(28.0276, 18.2918, 73.9908)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AE2 #B1E25A
analogous
#5A6DE2 #8B5AE2 #CF5AE2
triadic
#8B5AE2 #E28B5A #5AE28B
tetradic
#8B5AE2 #E25A6D #B1E25A #5AE2CF
square
#8B5AE2 #E25A6D #B1E25A #5AE2CF
split-complementary
#8B5AE2 #E2CF5A #6DE25A
monochromatic
#4E1DA5 #6626D9 #8B5AE2 #B08EEB #D4C2F4

Accessibility & contrast

On white

4.51
#8B5AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8B5AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5AE2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AE2#FFFFFF#000000##000000
##8B5AE21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#1975DF
Tritanopia (blue-blind)
#767896
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b5ae2;
/* rgb */ color: rgb(139, 90, 226);
/* oklch */ color: oklch(58.9% 0.198 296.4);
Tailwind
colors: {
  custom: {
    50: '#b28bec',
    500: '#8b5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ae2;
$custom-light: #b28bec;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ae2",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 261.618,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.19793,
    "h": 296.4
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#8B5AE2
secondary
#D3E5B3
accent
#D2138D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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