#8A4192#8A4192

#8A4192 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.1% C 0.146 H 323.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A4192
RGBrgb(138, 65, 146)
HSLhsl(294, 38%, 41%)
HSVhsv(294, 55%, 57%)
CMYKcmyk(5.5%, 55.5%, 0%, 42.7%)
CIE-LABlab(40.02, 43.32, -31.26)
CIE-LCHlch(40.02, 53.43, 324.19°)
OKLaboklab(50.11% 0.1172 -0.0864)
OKLCHoklch(50.11% 0.146 323.6)
XYZxyz(17.5593, 11.2601, 28.4371)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4192 #499241
analogous
#624192 #8A4192 #924172
triadic
#8A4192 #928A41 #41928A
tetradic
#8A4192 #926241 #499241 #417292
square
#8A4192 #926241 #499241 #417292
split-complementary
#8A4192 #729241 #419262
monochromatic
#3A1B3D #622E68 #8A4192 #AD5AB6 #C285C9

Accessibility & contrast

On white

6.46
#8A4192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A4192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4192
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4192#FFFFFF#000000##FFFFFF
##8A41921.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355995
Deuteranopia (green-blind)
#4D6190
Tritanopia (blue-blind)
#8C4C63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4192;
/* rgb */ color: rgb(138, 65, 146);
/* oklch */ color: oklch(50.1% 0.146 323.6);
Tailwind
colors: {
  custom: {
    50: '#ae79b2',
    500: '#8a4192',
    950: '#000000',
  },
}
SCSS
$custom: #8a4192;
$custom-light: #ae79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4192",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 146
  },
  "hsl": {
    "h": 294.074,
    "s": 38.389,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.14562,
    "h": 323.6
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#8A4192
secondary
#81B37C
accent
#CE5965
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4192

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

Preview Lab → · Contrast checker → · Palette generator →

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