#8A4897#8A4897

#8A4897 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.4% C 0.139 H 320.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A4897
RGBrgb(138, 72, 151)
HSLhsl(290, 35%, 44%)
HSVhsv(290, 52%, 59%)
CMYKcmyk(8.6%, 52.3%, 0%, 40.8%)
CIE-LABlab(41.65, 40.68, -31.72)
CIE-LCHlch(41.65, 51.58, 322.06°)
OKLaboklab(51.39% 0.1078 -0.0878)
OKLCHoklch(51.39% 0.139 320.8)
XYZxyz(18.3839, 12.2731, 30.6727)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4897 #559748
analogous
#624897 #8A4897 #97487C
triadic
#8A4897 #978A48 #48978A
tetradic
#8A4897 #976248 #559748 #487C97
square
#8A4897 #976248 #559748 #487C97
split-complementary
#8A4897 #7C9748 #489762
monochromatic
#3E2044 #64346E #8A4897 #A966B6 #C090CA

Accessibility & contrast

On white

6.08
#8A4897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8A4897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4897
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4897#FFFFFF#000000##FFFFFF
##8A48971.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#8B5369
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4897;
/* rgb */ color: rgb(138, 72, 151);
/* oklch */ color: oklch(51.4% 0.139 320.8);
Tailwind
colors: {
  custom: {
    50: '#ae7eb6',
    500: '#8a4897',
    950: '#000000',
  },
}
SCSS
$custom: #8a4897;
$custom-light: #ae7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4897",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 290.127,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.13904,
    "h": 320.8
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#8A4897
secondary
#8DB685
accent
#CB5C6F
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4897

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

Preview Lab → · Contrast checker → · Palette generator →

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