#8A197A#8A197A

#8A197A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.178 H 334.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8A197A
RGBrgb(138, 25, 122)
HSLhsl(308, 69%, 32%)
HSVhsv(308, 82%, 54%)
CMYKcmyk(0%, 81.9%, 11.6%, 45.9%)
CIE-LABlab(32.93, 55.29, -27.60)
CIE-LCHlch(32.93, 61.79, 333.47°)
OKLaboklab(44.56% 0.1614 -0.0756)
OKLCHoklch(44.56% 0.178 334.9)
XYZxyz(14.3419, 7.5050, 19.1019)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A197A #198A29
analogous
#62198A #8A197A #8A1941
triadic
#8A197A #7A8A19 #197A8A
tetradic
#8A197A #8A6219 #198A29 #19418A
square
#8A197A #8A6219 #198A29 #19418A
split-complementary
#8A197A #418A19 #198A62
monochromatic
#22061E #56104C #8A197A #BE22A8 #DD41C7

Accessibility & contrast

On white

8.40
#8A197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A197A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A197A#FFFFFF#000000##FFFFFF
##8A197A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437C
Deuteranopia (green-blind)
#445377
Tritanopia (blue-blind)
#912449
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a197a;
/* rgb */ color: rgb(138, 25, 122);
/* oklch */ color: oklch(44.6% 0.178 334.9);
Tailwind
colors: {
  custom: {
    50: '#b065a1',
    500: '#8a197a',
    950: '#000000',
  },
}
SCSS
$custom: #8a197a;
$custom-light: #b065a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a197a",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 308.496,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.17825,
    "h": 334.9
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#8A197A
secondary
#42BD53
accent
#EC553C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8A197A

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

Preview Lab → · Contrast checker → · Palette generator →

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