#8A4396#8A4396

#8A4396 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.6% C 0.146 H 321.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A4396
RGBrgb(138, 67, 150)
HSLhsl(291, 38%, 43%)
HSVhsv(291, 55%, 59%)
CMYKcmyk(8%, 55.3%, 0%, 41.2%)
CIE-LABlab(40.61, 43.10, -32.75)
CIE-LCHlch(40.61, 54.13, 322.77°)
OKLaboklab(50.61% 0.1148 -0.0908)
OKLCHoklch(50.61% 0.146 321.7)
XYZxyz(17.9928, 11.6204, 30.1435)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4396 #4F9643
analogous
#604396 #8A4396 #964379
triadic
#8A4396 #968A43 #43968A
tetradic
#8A4396 #966043 #4F9643 #437996
square
#8A4396 #966043 #4F9643 #437996
split-complementary
#8A4396 #799643 #439660
monochromatic
#3C1D41 #63306C #8A4396 #AB5FB7 #C189CA

Accessibility & contrast

On white

6.32
#8A4396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A4396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4396
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4396#FFFFFF#000000##FFFFFF
##8A43961.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B99
Deuteranopia (green-blind)
#4C6294
Tritanopia (blue-blind)
#8C4F66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4396;
/* rgb */ color: rgb(138, 67, 150);
/* oklch */ color: oklch(50.6% 0.146 321.7);
Tailwind
colors: {
  custom: {
    50: '#ae7bb5',
    500: '#8a4396',
    950: '#000000',
  },
}
SCSS
$custom: #8a4396;
$custom-light: #ae7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4396",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 291.325,
    "s": 38.249,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.14635,
    "h": 321.7
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#8A4396
secondary
#87B57F
accent
#CE5A6A
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4396

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

Preview Lab → · Contrast checker → · Palette generator →

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