#8B5AE4#8B5AE4

#8B5AE4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.200 H 296.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8B5AE4
RGBrgb(139, 90, 228)
HSLhsl(261, 72%, 62%)
HSVhsv(261, 61%, 89%)
CMYKcmyk(39%, 60.5%, 0%, 10.6%)
CIE-LABlab(49.98, 49.49, -63.22)
CIE-LCHlch(49.98, 80.29, 308.06°)
OKLaboklab(58.99% 0.0879 -0.18)
OKLCHoklch(58.99% 0.2 296)
XYZxyz(28.3036, 18.4022, 75.4445)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AE4 #B3E45A
analogous
#5A6EE4 #8B5AE4 #D05AE4
triadic
#8B5AE4 #E48B5A #5AE48B
tetradic
#8B5AE4 #E45A6E #B3E45A #5AE4D0
square
#8B5AE4 #E45A6E #B3E45A #5AE4D0
split-complementary
#8B5AE4 #E4D05A #6EE45A
monochromatic
#4D1CA8 #6625DB #8B5AE4 #B08FED #D5C3F5

Accessibility & contrast

On white

4.49
#8B5AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8B5AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5AE4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AE4#FFFFFF#000000##000000
##8B5AE41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#1275E1
Tritanopia (blue-blind)
#757897
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b5ae4;
/* rgb */ color: rgb(139, 90, 228);
/* oklch */ color: oklch(59.0% 0.200 296.0);
Tailwind
colors: {
  custom: {
    50: '#b28bed',
    500: '#8b5ae4',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ae4;
$custom-light: #b28bed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ae4",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 261.304,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.20032,
    "h": 296
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#8B5AE4
secondary
#D4E6B4
accent
#D4128F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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