#8A4399#8A4399

#8A4399 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.8% C 0.149 H 320.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A4399
RGBrgb(138, 67, 153)
HSLhsl(290, 39%, 43%)
HSVhsv(290, 56%, 60%)
CMYKcmyk(9.8%, 56.2%, 0%, 40%)
CIE-LABlab(40.76, 43.71, -34.31)
CIE-LCHlch(40.76, 55.57, 321.87°)
OKLaboklab(50.78% 0.1151 -0.0953)
OKLCHoklch(50.78% 0.149 320.4)
XYZxyz(18.2375, 11.7183, 31.4320)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4399 #529943
analogous
#5F4399 #8A4399 #99437D
triadic
#8A4399 #998A43 #43998A
tetradic
#8A4399 #995F43 #529943 #437D99
square
#8A4399 #995F43 #529943 #437D99
split-complementary
#8A4399 #7D9943 #43995F
monochromatic
#3D1E44 #64306E #8A4399 #AA60B9 #C18ACC

Accessibility & contrast

On white

6.28
#8A4399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A4399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4399
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4399#FFFFFF#000000##FFFFFF
##8A43991.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335B9C
Deuteranopia (green-blind)
#4A6397
Tritanopia (blue-blind)
#8B5067
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4399;
/* rgb */ color: rgb(138, 67, 153);
/* oklch */ color: oklch(50.8% 0.149 320.4);
Tailwind
colors: {
  custom: {
    50: '#ae7bb7',
    500: '#8a4399',
    950: '#000000',
  },
}
SCSS
$custom: #8a4399;
$custom-light: #ae7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4399",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 289.535,
    "s": 39.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.14943,
    "h": 320.4
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#8A4399
secondary
#8AB781
accent
#CF596D
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4399

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

Preview Lab → · Contrast checker → · Palette generator →

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