#8A4ABE#8A4ABE

#8A4ABE is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.179 H 306.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8A4ABE
RGBrgb(138, 74, 190)
HSLhsl(273, 47%, 52%)
HSVhsv(273, 61%, 75%)
CMYKcmyk(27.4%, 61.1%, 0%, 25.5%)
CIE-LABlab(44.26, 48.28, -50.65)
CIE-LCHlch(44.26, 69.98, 313.63°)
OKLaboklab(54.02% 0.107 -0.143)
OKLCHoklch(54.02% 0.179 306.8)
XYZxyz(22.2223, 14.0188, 50.2404)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4ABE #7EBE4A
analogous
#504ABE #8A4ABE #BE4AB8
triadic
#8A4ABE #BE8A4A #4ABE8A
tetradic
#8A4ABE #BE504A #7EBE4A #4AB8BE
square
#8A4ABE #BE504A #7EBE4A #4AB8BE
split-complementary
#8A4ABE #B8BE4A #4ABE50
monochromatic
#4A2568 #6A3695 #8A4ABE #A777CE #C4A4DE

Accessibility & contrast

On white

5.52
#8A4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4ABE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4ABE#FFFFFF#000000##FFFFFF
##8A4ABE1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C2
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#82617D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4abe;
/* rgb */ color: rgb(138, 74, 190);
/* oklch */ color: oklch(54.0% 0.179 306.8);
Tailwind
colors: {
  custom: {
    50: '#b080d2',
    500: '#8a4abe',
    950: '#000000',
  },
}
SCSS
$custom: #8a4abe;
$custom-light: #b080d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4abe",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 273.103,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.17866,
    "h": 306.8
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

primary
#8A4ABE
secondary
#AFCB98
accent
#D7518D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8A4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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