#8B4AAE#8B4AAE

#8B4AAE is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.161 H 312.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8B4AAE
RGBrgb(139, 74, 174)
HSLhsl(279, 40%, 49%)
HSVhsv(279, 57%, 68%)
CMYKcmyk(20.1%, 57.5%, 0%, 31.8%)
CIE-LABlab(43.42, 44.86, -42.60)
CIE-LCHlch(43.42, 61.86, 316.48°)
OKLaboklab(53.13% 0.1082 -0.1194)
OKLCHoklch(53.13% 0.161 312.2)
XYZxyz(20.7349, 13.4430, 41.5387)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AAE #6DAE4A
analogous
#594AAE #8B4AAE #AE4A9F
triadic
#8B4AAE #AE8B4A #4AAE8B
tetradic
#8B4AAE #AE594A #6DAE4A #4A9FAE
square
#8B4AAE #AE594A #6DAE4A #4A9FAE
split-complementary
#8B4AAE #9FAE4A #4AAE59
monochromatic
#462558 #693883 #8B4AAE #A772C3 #C29DD5

Accessibility & contrast

On white

5.69
#8B4AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8B4AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AAE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AAE#FFFFFF#000000##FFFFFF
##8B4AAE1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#4468AC
Tritanopia (blue-blind)
#875C75
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b4aae;
/* rgb */ color: rgb(139, 74, 174);
/* oklch */ color: oklch(53.1% 0.161 312.2);
Tailwind
colors: {
  custom: {
    50: '#af7fc7',
    500: '#8b4aae',
    950: '#000000',
  },
}
SCSS
$custom: #8b4aae;
$custom-light: #af7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4aae",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 279,
    "s": 40.323,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.16116,
    "h": 312.2
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#8B4AAE
secondary
#A3C292
accent
#D05882
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B4AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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