#8A4397#8A4397

#8A4397 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.7% C 0.147 H 321.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A4397
RGBrgb(138, 67, 151)
HSLhsl(291, 39%, 43%)
HSVhsv(291, 56%, 59%)
CMYKcmyk(8.6%, 55.6%, 0%, 40.8%)
CIE-LABlab(40.66, 43.30, -33.27)
CIE-LCHlch(40.66, 54.61, 322.46°)
OKLaboklab(50.66% 0.1149 -0.0923)
OKLCHoklch(50.66% 0.147 321.2)
XYZxyz(18.0737, 11.6528, 30.5693)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4397 #509743
analogous
#604397 #8A4397 #97437A
triadic
#8A4397 #978A43 #43978A
tetradic
#8A4397 #976043 #509743 #437A97
square
#8A4397 #976043 #509743 #437A97
split-complementary
#8A4397 #7A9743 #439760
monochromatic
#3D1D42 #63306D #8A4397 #AA5FB8 #C18ACB

Accessibility & contrast

On white

6.31
#8A4397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8A4397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4397
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4397#FFFFFF#000000##FFFFFF
##8A43971.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345B9A
Deuteranopia (green-blind)
#4B6395
Tritanopia (blue-blind)
#8B4F66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4397;
/* rgb */ color: rgb(138, 67, 151);
/* oklch */ color: oklch(50.7% 0.147 321.2);
Tailwind
colors: {
  custom: {
    50: '#ae7bb6',
    500: '#8a4397',
    950: '#000000',
  },
}
SCSS
$custom: #8a4397;
$custom-light: #ae7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4397",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 290.714,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50663,
    "c": 0.14738,
    "h": 321.2
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#8A4397
secondary
#88B680
accent
#CE596B
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A4397

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

Preview Lab → · Contrast checker → · Palette generator →

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