#8B4AE5#8B4AE5

#8B4AE5 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.222 H 298.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8B4AE5
RGBrgb(139, 74, 229)
HSLhsl(265, 75%, 59%)
HSVhsv(265, 68%, 90%)
CMYKcmyk(39.3%, 67.7%, 0%, 10.2%)
CIE-LABlab(47.03, 57.95, -68.56)
CIE-LCHlch(47.03, 89.77, 310.21°)
OKLaboklab(56.89% 0.1049 -0.1956)
OKLCHoklch(56.89% 0.222 298.2)
XYZxyz(27.2355, 16.0433, 75.7753)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AE5 #A4E54A
analogous
#4A57E5 #8B4AE5 #D84AE5
triadic
#8B4AE5 #E58B4A #4AE58B
tetradic
#8B4AE5 #E54A57 #A4E54A #4AE5D8
square
#8B4AE5 #E54A57 #A4E54A #4AE5D8
split-complementary
#8B4AE5 #E5D84A #57E54A
monochromatic
#4F179E #6A1ED3 #8B4AE5 #AD80ED #D0B5F4

Accessibility & contrast

On white

4.99
#8B4AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8B4AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AE5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AE5#FFFFFF#000000##FFFFFF
##8B4AE51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#756F92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4ae5;
/* rgb */ color: rgb(139, 74, 229);
/* oklch */ color: oklch(56.9% 0.222 298.2);
Tailwind
colors: {
  custom: {
    50: '#b381ee',
    500: '#8b4ae5',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ae5;
$custom-light: #b381ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ae5",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 265.161,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.222,
    "h": 298.2
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#8B4AE5
secondary
#CAE4A7
accent
#F136A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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