#8A4BB0#8A4BB0

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

Color values

HEX#8A4BB0
RGBrgb(138, 75, 176)
HSLhsl(277, 40%, 49%)
HSVhsv(277, 57%, 69%)
CMYKcmyk(21.6%, 57.4%, 0%, 31%)
CIE-LABlab(43.61, 44.52, -43.49)
CIE-LCHlch(43.61, 62.24, 315.67°)
OKLaboklab(53.28% 0.1057 -0.1221)
OKLCHoklch(53.28% 0.161 310.9)
XYZxyz(20.8323, 13.5704, 42.5878)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BB0 #71B04B
analogous
#584BB0 #8A4BB0 #B04BA4
triadic
#8A4BB0 #B08A4B #4BB08A
tetradic
#8A4BB0 #B0584B #71B04B #4BA4B0
square
#8A4BB0 #B0584B #71B04B #4BA4B0
split-complementary
#8A4BB0 #A4B04B #4BB058
monochromatic
#47265A #683985 #8A4BB0 #A674C4 #C29FD6

Accessibility & contrast

On white

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

On black

3.71
#8A4BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A4BB0#FFFFFF#000000##FFFFFF
##8A4BB01.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B3
Deuteranopia (green-blind)
#4268AE
Tritanopia (blue-blind)
#855D76
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4bb0;
/* rgb */ color: rgb(138, 75, 176);
/* oklch */ color: oklch(53.3% 0.161 310.9);
Tailwind
colors: {
  custom: {
    50: '#af80c8',
    500: '#8a4bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bb0;
$custom-light: #af80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bb0",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 277.426,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53277,
    "c": 0.16145,
    "h": 310.9
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#8A4BB0
secondary
#A6C394
accent
#D05885
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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