#8A4CB4#8A4CB4

#8A4CB4 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.164 H 309.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8A4CB4
RGBrgb(138, 76, 180)
HSLhsl(276, 41%, 50%)
HSVhsv(276, 58%, 71%)
CMYKcmyk(23.3%, 57.8%, 0%, 29.4%)
CIE-LABlab(44.04, 44.91, -45.15)
CIE-LCHlch(44.04, 63.68, 314.85°)
OKLaboklab(53.67% 0.1045 -0.1269)
OKLCHoklch(53.67% 0.164 309.5)
XYZxyz(21.3023, 13.8678, 44.7257)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CB4 #76B44C
analogous
#564CB4 #8A4CB4 #B44CAA
triadic
#8A4CB4 #B48A4C #4CB48A
tetradic
#8A4CB4 #B4564C #76B44C #4CAAB4
square
#8A4CB4 #B4564C #76B44C #4CAAB4
split-complementary
#8A4CB4 #AAB44C #4CB456
monochromatic
#48275E #693A89 #8A4CB4 #A677C6 #C2A2D8

Accessibility & contrast

On white

5.57
#8A4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8A4CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CB4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CB4#FFFFFF#000000##FFFFFF
##8A4CB41.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B7
Deuteranopia (green-blind)
#4069B1
Tritanopia (blue-blind)
#845F79
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4cb4;
/* rgb */ color: rgb(138, 76, 180);
/* oklch */ color: oklch(53.7% 0.164 309.5);
Tailwind
colors: {
  custom: {
    50: '#af81cb',
    500: '#8a4cb4',
    950: '#000000',
  },
}
SCSS
$custom: #8a4cb4;
$custom-light: #af81cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4cb4",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 275.769,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.16441,
    "h": 309.5
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A4CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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