#8B4AE0#8B4AE0

#8B4AE0 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.217 H 299.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8B4AE0
RGBrgb(139, 74, 224)
HSLhsl(266, 71%, 58%)
HSVhsv(266, 67%, 88%)
CMYKcmyk(37.9%, 67%, 0%, 12.2%)
CIE-LABlab(46.67, 56.71, -66.32)
CIE-LCHlch(46.67, 87.26, 310.54°)
OKLaboklab(56.51% 0.1056 -0.189)
OKLCHoklch(56.51% 0.217 299.2)
XYZxyz(26.5474, 15.7680, 72.1514)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AE0 #9FE04A
analogous
#4A54E0 #8B4AE0 #D64AE0
triadic
#8B4AE0 #E08B4A #4AE08B
tetradic
#8B4AE0 #E04A54 #9FE04A #4AE0D6
square
#8B4AE0 #E04A54 #9FE04A #4AE0D6
split-complementary
#8B4AE0 #E0D64A #54E04A
monochromatic
#501A96 #6B23CA #8B4AE0 #AC7EE9 #CEB3F2

Accessibility & contrast

On white

5.06
#8B4AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8B4AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AE0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AE0#FFFFFF#000000##FFFFFF
##8B4AE01.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#776D8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4ae0;
/* rgb */ color: rgb(139, 74, 224);
/* oklch */ color: oklch(56.5% 0.217 299.2);
Tailwind
colors: {
  custom: {
    50: '#b381eb',
    500: '#8b4ae0',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ae0;
$custom-light: #b381eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ae0",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 266,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.21654,
    "h": 299.2
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#8B4AE0
secondary
#C7E1A5
accent
#EE3AA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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