#8A197B#8A197B

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

Color values

HEX#8A197B
RGBrgb(138, 25, 123)
HSLhsl(308, 69%, 32%)
HSVhsv(308, 82%, 54%)
CMYKcmyk(0%, 81.9%, 10.9%, 45.9%)
CIE-LABlab(32.98, 55.44, -28.14)
CIE-LCHlch(32.98, 62.17, 333.08°)
OKLaboklab(44.61% 0.1615 -0.0771)
OKLCHoklch(44.61% 0.179 334.5)
XYZxyz(14.4042, 7.5299, 19.4299)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A197B #198A28
analogous
#61198A #8A197B #8A1942
triadic
#8A197B #7B8A19 #197B8A
tetradic
#8A197B #8A6119 #198A28 #19428A
square
#8A197B #8A6119 #198A28 #19428A
split-complementary
#8A197B #428A19 #198A61
monochromatic
#22061F #56104D #8A197B #BE22A9 #DD41C8

Accessibility & contrast

On white

8.38
#8A197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A197B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A197B#FFFFFF#000000##FFFFFF
##8A197B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437E
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#91254A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a197b;
/* rgb */ color: rgb(138, 25, 123);
/* oklch */ color: oklch(44.6% 0.179 334.5);
Tailwind
colors: {
  custom: {
    50: '#b065a1',
    500: '#8a197b',
    950: '#000000',
  },
}
SCSS
$custom: #8a197b;
$custom-light: #b065a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a197b",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 307.965,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44612,
    "c": 0.17895,
    "h": 334.5
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#8A197B
secondary
#42BD52
accent
#EC533C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8A197B

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

Preview Lab → · Contrast checker → · Palette generator →

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