#8A4BB4#8A4BB4

#8A4BB4 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.166 H 309.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A4BB4
RGBrgb(138, 75, 180)
HSLhsl(276, 41%, 50%)
HSVhsv(276, 58%, 71%)
CMYKcmyk(23.3%, 58.3%, 0%, 29.4%)
CIE-LABlab(43.84, 45.44, -45.47)
CIE-LCHlch(43.84, 64.28, 314.98°)
OKLaboklab(53.52% 0.1058 -0.1279)
OKLCHoklch(53.52% 0.166 309.6)
XYZxyz(21.2339, 13.7311, 44.7029)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4BB4 #75B44B
analogous
#564BB4 #8A4BB4 #B44BA9
triadic
#8A4BB4 #B48A4B #4BB48A
tetradic
#8A4BB4 #B4564B #75B44B #4BA9B4
square
#8A4BB4 #B4564B #75B44B #4BA9B4
split-complementary
#8A4BB4 #A9B44B #4BB456
monochromatic
#48275E #693989 #8A4BB4 #A676C6 #C2A1D8

Accessibility & contrast

On white

5.61
#8A4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A4BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4BB4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4BB4#FFFFFF#000000##FFFFFF
##8A4BB41.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B7
Deuteranopia (green-blind)
#3F69B1
Tritanopia (blue-blind)
#845E78
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4bb4;
/* rgb */ color: rgb(138, 75, 180);
/* oklch */ color: oklch(53.5% 0.166 309.6);
Tailwind
colors: {
  custom: {
    50: '#af80cb',
    500: '#8a4bb4',
    950: '#000000',
  },
}
SCSS
$custom: #8a4bb4;
$custom-light: #af80cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4bb4",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 276,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.16594,
    "h": 309.6
  },
  "luminance": 0.13731
}

Semantic roles & 50–950 ramp

primary
#8A4BB4
secondary
#A9C596
accent
#D15788
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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