#8B197E#8B197E

#8B197E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.182 H 333.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8B197E
RGBrgb(139, 25, 126)
HSLhsl(307, 70%, 32%)
HSVhsv(307, 82%, 55%)
CMYKcmyk(0%, 82%, 9.4%, 45.5%)
CIE-LABlab(33.33, 56.12, -29.46)
CIE-LCHlch(33.33, 63.38, 332.30°)
OKLaboklab(44.95% 0.1626 -0.0809)
OKLCHoklch(44.95% 0.182 333.5)
XYZxyz(14.7611, 7.6919, 20.4419)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B197E #198B26
analogous
#5F198B #8B197E #8B1945
triadic
#8B197E #7E8B19 #197E8B
tetradic
#8B197E #8B5F19 #198B26 #19458B
square
#8B197E #8B5F19 #198B26 #19458B
split-complementary
#8B197E #458B19 #198B5F
monochromatic
#230620 #57104F #8B197E #BF22AD #DD41CB

Accessibility & contrast

On white

8.27
#8B197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8B197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B197E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B197E#FFFFFF#000000##FFFFFF
##8B197E1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144481
Deuteranopia (green-blind)
#43547B
Tritanopia (blue-blind)
#92264C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b197e;
/* rgb */ color: rgb(139, 25, 126);
/* oklch */ color: oklch(44.9% 0.182 333.5);
Tailwind
colors: {
  custom: {
    50: '#b165a4',
    500: '#8b197e',
    950: '#000000',
  },
}
SCSS
$custom: #8b197e;
$custom-light: #b165a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b197e",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 306.842,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44949,
    "c": 0.18163,
    "h": 333.5
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#8B197E
secondary
#42BE50
accent
#EC503B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B197E

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

Preview Lab → · Contrast checker → · Palette generator →

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