#8A4199#8A4199

#8A4199 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.5% C 0.153 H 320.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8A4199
RGBrgb(138, 65, 153)
HSLhsl(290, 40%, 43%)
HSVhsv(290, 58%, 60%)
CMYKcmyk(9.8%, 57.5%, 0%, 40%)
CIE-LABlab(40.38, 44.73, -34.91)
CIE-LCHlch(40.38, 56.74, 322.03°)
OKLaboklab(50.5% 0.1179 -0.097)
OKLCHoklch(50.5% 0.153 320.5)
XYZxyz(18.1206, 11.4846, 31.3931)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4199 #509941
analogous
#5E4199 #8A4199 #99417C
triadic
#8A4199 #998A41 #41998A
tetradic
#8A4199 #995E41 #509941 #417C99
square
#8A4199 #995E41 #509941 #417C99
split-complementary
#8A4199 #7C9941 #41995E
monochromatic
#3D1D43 #632F6E #8A4199 #AA5DBA #C188CC

Accessibility & contrast

On white

6.37
#8A4199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A4199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4199
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4199#FFFFFF#000000##FFFFFF
##8A41991.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#496297
Tritanopia (blue-blind)
#8B4E67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4199;
/* rgb */ color: rgb(138, 65, 153);
/* oklch */ color: oklch(50.5% 0.153 320.5);
Tailwind
colors: {
  custom: {
    50: '#ae79b7',
    500: '#8a4199',
    950: '#000000',
  },
}
SCSS
$custom: #8a4199;
$custom-light: #ae79b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4199",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 289.773,
    "s": 40.367,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.15265,
    "h": 320.5
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#8A4199
secondary
#88B77F
accent
#D0586C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4199

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

Preview Lab → · Contrast checker → · Palette generator →

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