#8A4194#8A4194

#8A4194 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.2% C 0.148 H 322.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A4194
RGBrgb(138, 65, 148)
HSLhsl(293, 39%, 42%)
HSVhsv(293, 56%, 58%)
CMYKcmyk(6.8%, 56.1%, 0%, 42%)
CIE-LABlab(40.12, 43.72, -32.31)
CIE-LCHlch(40.12, 54.37, 323.54°)
OKLaboklab(50.22% 0.1174 -0.0895)
OKLCHoklch(50.22% 0.148 322.7)
XYZxyz(17.7163, 11.3228, 29.2636)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4194 #4B9441
analogous
#614194 #8A4194 #944175
triadic
#8A4194 #948A41 #41948A
tetradic
#8A4194 #946141 #4B9441 #417594
square
#8A4194 #946141 #4B9441 #417594
split-complementary
#8A4194 #759441 #419461
monochromatic
#3B1C3F #622E69 #8A4194 #AC5BB7 #C286CA

Accessibility & contrast

On white

6.43
#8A4194 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A4194 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4194
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4194#FFFFFF#000000##FFFFFF
##8A41941.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335997
Deuteranopia (green-blind)
#4C6192
Tritanopia (blue-blind)
#8C4C64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4194;
/* rgb */ color: rgb(138, 65, 148);
/* oklch */ color: oklch(50.2% 0.148 322.7);
Tailwind
colors: {
  custom: {
    50: '#ae79b4',
    500: '#8a4194',
    950: '#000000',
  },
}
SCSS
$custom: #8a4194;
$custom-light: #ae79b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4194",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 292.771,
    "s": 38.967,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50216,
    "c": 0.1476,
    "h": 322.7
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#8A4194
secondary
#83B47C
accent
#CF5967
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4194

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

Preview Lab → · Contrast checker → · Palette generator →

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