#8B4BAE#8B4BAE

#8B4BAE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.160 H 312.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8B4BAE
RGBrgb(139, 75, 174)
HSLhsl(279, 40%, 49%)
HSVhsv(279, 57%, 68%)
CMYKcmyk(20.1%, 56.9%, 0%, 31.8%)
CIE-LABlab(43.62, 44.33, -42.28)
CIE-LCHlch(43.62, 61.26, 316.35°)
OKLaboklab(53.27% 0.1069 -0.1185)
OKLCHoklch(53.27% 0.16 312)
XYZxyz(20.8022, 13.5776, 41.5611)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BAE #6EAE4B
analogous
#5A4BAE #8B4BAE #AE4BA0
triadic
#8B4BAE #AE8B4B #4BAE8B
tetradic
#8B4BAE #AE5A4B #6EAE4B #4BA0AE
square
#8B4BAE #AE5A4B #6EAE4B #4BA0AE
split-complementary
#8B4BAE #A0AE4B #4BAE5A
monochromatic
#472658 #693983 #8B4BAE #A773C3 #C29ED5

Accessibility & contrast

On white

5.65
#8B4BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8B4BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BAE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BAE#FFFFFF#000000##FFFFFF
##8B4BAE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b4bae;
/* rgb */ color: rgb(139, 75, 174);
/* oklch */ color: oklch(53.3% 0.160 312.0);
Tailwind
colors: {
  custom: {
    50: '#af80c7',
    500: '#8b4bae',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bae;
$custom-light: #af80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bae",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 278.788,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53274,
    "c": 0.15959,
    "h": 312
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#8B4BAE
secondary
#A4C293
accent
#D05882
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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