#8B4EAE#8B4EAE

#8B4EAE is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.155 H 311.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B4EAE
RGBrgb(139, 78, 174)
HSLhsl(278, 38%, 49%)
HSVhsv(278, 55%, 68%)
CMYKcmyk(20.1%, 55.2%, 0%, 31.8%)
CIE-LABlab(44.22, 42.73, -41.32)
CIE-LCHlch(44.22, 59.45, 315.96°)
OKLaboklab(53.72% 0.1028 -0.1157)
OKLCHoklch(53.72% 0.155 311.6)
XYZxyz(21.0105, 13.9942, 41.6305)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4EAE #71AE4E
analogous
#5B4EAE #8B4EAE #AE4EA1
triadic
#8B4EAE #AE8B4E #4EAE8B
tetradic
#8B4EAE #AE5B4E #71AE4E #4EA1AE
square
#8B4EAE #AE5B4E #71AE4E #4EA1AE
split-complementary
#8B4EAE #A1AE4E #4EAE5B
monochromatic
#472859 #693B84 #8B4EAE #A777C2 #C2A1D5

Accessibility & contrast

On white

5.53
#8B4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8B4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4EAE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4EAE#FFFFFF#000000##FFFFFF
##8B4EAE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365B1
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#875E76
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b4eae;
/* rgb */ color: rgb(139, 78, 174);
/* oklch */ color: oklch(53.7% 0.155 311.6);
Tailwind
colors: {
  custom: {
    50: '#af82c6',
    500: '#8b4eae',
    950: '#000000',
  },
}
SCSS
$custom: #8b4eae;
$custom-light: #af82c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4eae",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 278.125,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.15482,
    "h": 311.6
  },
  "luminance": 0.13994
}

Semantic roles & 50–950 ramp

primary
#8B4EAE
secondary
#A6C296
accent
#CE5A84
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8B4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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