#8A4190#8A4190

#8A4190 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.0% C 0.144 H 324.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8A4190
RGBrgb(138, 65, 144)
HSLhsl(295, 38%, 41%)
HSVhsv(295, 55%, 56%)
CMYKcmyk(4.2%, 54.9%, 0%, 43.5%)
CIE-LABlab(39.91, 42.93, -30.21)
CIE-LCHlch(39.91, 52.50, 324.86°)
OKLaboklab(50% 0.1169 -0.0834)
OKLCHoklch(50% 0.144 324.5)
XYZxyz(17.4051, 11.1984, 27.6249)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4190 #479041
analogous
#624190 #8A4190 #90416E
triadic
#8A4190 #908A41 #41908A
tetradic
#8A4190 #906241 #479041 #416E90
square
#8A4190 #906241 #479041 #416E90
split-complementary
#8A4190 #6E9041 #419062
monochromatic
#391B3C #622E66 #8A4190 #AE5AB4 #C284C7

Accessibility & contrast

On white

6.48
#8A4190 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8A4190 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4190
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4190#FFFFFF#000000##FFFFFF
##8A41901.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365893
Deuteranopia (green-blind)
#4E618E
Tritanopia (blue-blind)
#8D4B62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4190;
/* rgb */ color: rgb(138, 65, 144);
/* oklch */ color: oklch(50.0% 0.144 324.5);
Tailwind
colors: {
  custom: {
    50: '#ae79b1',
    500: '#8a4190',
    950: '#000000',
  },
}
SCSS
$custom: #8a4190;
$custom-light: #ae79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4190",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 295.443,
    "s": 37.799,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.14364,
    "h": 324.5
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#8A4190
secondary
#7FB27B
accent
#CE5A63
background
#FAF7FA
surface
#F5EEF5
border
#CFC9CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8A4190

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

Preview Lab → · Contrast checker → · Palette generator →

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