#8A4BB8#8A4BB8

#8A4BB8 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.170 H 308.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8A4BB8
RGBrgb(138, 75, 184)
HSLhsl(275, 43%, 51%)
HSVhsv(275, 59%, 72%)
CMYKcmyk(25%, 59.2%, 0%, 27.8%)
CIE-LABlab(44.08, 46.36, -47.43)
CIE-LCHlch(44.08, 66.33, 314.35°)
OKLaboklab(53.77% 0.1058 -0.1336)
OKLCHoklch(53.77% 0.17 308.4)
XYZxyz(21.6473, 13.8964, 46.8800)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BB8 #79B84B
analogous
#534BB8 #8A4BB8 #B84BAF
triadic
#8A4BB8 #B88A4B #4BB88A
tetradic
#8A4BB8 #B8534B #79B84B #4BAFB8
square
#8A4BB8 #B8534B #79B84B #4BAFB8
split-complementary
#8A4BB8 #AFB84B #4BB853
monochromatic
#492762 #6A388E #8A4BB8 #A777C9 #C3A3DB

Accessibility & contrast

On white

5.56
#8A4BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8A4BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BB8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BB8#FFFFFF#000000##FFFFFF
##8A4BB81.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BB
Deuteranopia (green-blind)
#3C69B5
Tritanopia (blue-blind)
#83607A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4bb8;
/* rgb */ color: rgb(138, 75, 184);
/* oklch */ color: oklch(53.8% 0.170 308.4);
Tailwind
colors: {
  custom: {
    50: '#af80ce',
    500: '#8a4bb8',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bb8;
$custom-light: #af80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bb8",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 274.679,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.17045,
    "h": 308.4
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#8A4BB8
secondary
#ACC897
accent
#D3558A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A4BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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