#8A4BAA#8A4BAA

#8A4BAA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.155 H 312.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A4BAA
RGBrgb(138, 75, 170)
HSLhsl(280, 39%, 48%)
HSVhsv(280, 56%, 67%)
CMYKcmyk(18.8%, 55.9%, 0%, 33.3%)
CIE-LABlab(43.27, 43.17, -40.49)
CIE-LCHlch(43.27, 59.19, 316.84°)
OKLaboklab(52.92% 0.1054 -0.1133)
OKLCHoklch(52.92% 0.155 312.9)
XYZxyz(20.2518, 13.3382, 39.5301)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BAA #6BAA4B
analogous
#5A4BAA #8A4BAA #AA4B9B
triadic
#8A4BAA #AA8A4B #4BAA8A
tetradic
#8A4BAA #AA5A4B #6BAA4B #4B9BAA
square
#8A4BAA #AA5A4B #6BAA4B #4B9BAA
split-complementary
#8A4BAA #9BAA4B #4BAA5A
monochromatic
#452655 #683880 #8A4BAA #A672C1 #C19CD3

Accessibility & contrast

On white

5.73
#8A4BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8A4BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BAA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BAA#FFFFFF#000000##FFFFFF
##8A4BAA1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#4768A8
Tritanopia (blue-blind)
#875B73
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4baa;
/* rgb */ color: rgb(138, 75, 170);
/* oklch */ color: oklch(52.9% 0.155 312.9);
Tailwind
colors: {
  custom: {
    50: '#af80c4',
    500: '#8a4baa',
    950: '#000000',
  },
}
SCSS
$custom: #8a4baa;
$custom-light: #af80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4baa",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 170
  },
  "hsl": {
    "h": 279.789,
    "s": 38.776,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52915,
    "c": 0.15474,
    "h": 312.9
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

primary
#8A4BAA
secondary
#A1C091
accent
#CF5981
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A4BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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