#8B197B#8B197B

#8B197B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.179 H 334.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8B197B
RGBrgb(139, 25, 123)
HSLhsl(308, 70%, 32%)
HSVhsv(308, 82%, 55%)
CMYKcmyk(0%, 82%, 11.5%, 45.5%)
CIE-LABlab(33.17, 55.66, -27.84)
CIE-LCHlch(33.17, 62.23, 333.43°)
OKLaboklab(44.78% 0.1625 -0.0762)
OKLCHoklch(44.78% 0.179 334.9)
XYZxyz(14.5704, 7.6156, 19.4376)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B197B #198B29
analogous
#62198B #8B197B #8B1942
triadic
#8B197B #7B8B19 #197B8B
tetradic
#8B197B #8B6219 #198B29 #19428B
square
#8B197B #8B6219 #198B29 #19428B
split-complementary
#8B197B #428B19 #198B62
monochromatic
#23061F #57104D #8B197B #BF22A9 #DD41C7

Accessibility & contrast

On white

8.32
#8B197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8B197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B197B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B197B#FFFFFF#000000##FFFFFF
##8B197B1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437E
Deuteranopia (green-blind)
#445478
Tritanopia (blue-blind)
#92244A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b197b;
/* rgb */ color: rgb(139, 25, 123);
/* oklch */ color: oklch(44.8% 0.179 334.9);
Tailwind
colors: {
  custom: {
    50: '#b165a1',
    500: '#8b197b',
    950: '#000000',
  },
}
SCSS
$custom: #8b197b;
$custom-light: #b165a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b197b",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 308.421,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44779,
    "c": 0.17948,
    "h": 334.9
  },
  "luminance": 0.07614
}

Semantic roles & 50–950 ramp

primary
#8B197B
secondary
#42BE53
accent
#EC543B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8B197B

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

Preview Lab → · Contrast checker → · Palette generator →

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