#8B4AE1#8B4AE1

#8B4AE1 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.218 H 299.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8B4AE1
RGBrgb(139, 74, 225)
HSLhsl(266, 72%, 59%)
HSVhsv(266, 67%, 88%)
CMYKcmyk(38.2%, 67.1%, 0%, 11.8%)
CIE-LABlab(46.74, 56.96, -66.77)
CIE-LCHlch(46.74, 87.76, 310.47°)
OKLaboklab(56.59% 0.1055 -0.1904)
OKLCHoklch(56.59% 0.218 299)
XYZxyz(26.6834, 15.8224, 72.8678)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AE1 #A0E14A
analogous
#4A54E1 #8B4AE1 #D74AE1
triadic
#8B4AE1 #E18B4A #4AE18B
tetradic
#8B4AE1 #E14A54 #A0E14A #4AE1D7
square
#8B4AE1 #E14A54 #A0E14A #4AE1D7
split-complementary
#8B4AE1 #E1D74A #54E14A
monochromatic
#501997 #6B22CC #8B4AE1 #AD7EEA #CEB3F2

Accessibility & contrast

On white

5.04
#8B4AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8B4AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AE1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AE1#FFFFFF#000000##FFFFFF
##8B4AE11.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#776E90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4ae1;
/* rgb */ color: rgb(139, 74, 225);
/* oklch */ color: oklch(56.6% 0.218 299.0);
Tailwind
colors: {
  custom: {
    50: '#b381eb',
    500: '#8b4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ae1;
$custom-light: #b381eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ae1",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 265.828,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56588,
    "c": 0.21763,
    "h": 299
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#8B4AE1
secondary
#C8E1A6
accent
#EE39A0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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