#8A4497#8A4497

#8A4497 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.8% C 0.146 H 321.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8A4497
RGBrgb(138, 68, 151)
HSLhsl(291, 38%, 43%)
HSVhsv(291, 55%, 59%)
CMYKcmyk(8.6%, 55%, 0%, 40.8%)
CIE-LABlab(40.85, 42.79, -32.97)
CIE-LCHlch(40.85, 54.01, 322.39°)
OKLaboklab(50.81% 0.1135 -0.0914)
OKLCHoklch(50.81% 0.146 321.2)
XYZxyz(18.1336, 11.7727, 30.5893)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4497 #519744
analogous
#604497 #8A4497 #97447B
triadic
#8A4497 #978A44 #44978A
tetradic
#8A4497 #976044 #519744 #447B97
square
#8A4497 #976044 #519744 #447B97
split-complementary
#8A4497 #7B9744 #449760
monochromatic
#3D1E43 #63316D #8A4497 #AA61B8 #C18BCB

Accessibility & contrast

On white

6.26
#8A4497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8A4497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4497
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4497#FFFFFF#000000##FFFFFF
##8A44971.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#8B5067
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4497;
/* rgb */ color: rgb(138, 68, 151);
/* oklch */ color: oklch(50.8% 0.146 321.2);
Tailwind
colors: {
  custom: {
    50: '#ae7bb6',
    500: '#8a4497',
    950: '#000000',
  },
}
SCSS
$custom: #8a4497;
$custom-light: #ae7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4497",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 290.602,
    "s": 37.9,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50806,
    "c": 0.14573,
    "h": 321.2
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

primary
#8A4497
secondary
#89B681
accent
#CE5A6C
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A4497

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

Preview Lab → · Contrast checker → · Palette generator →

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