#8B197F#8B197F

#8B197F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.182 H 333.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8B197F
RGBrgb(139, 25, 127)
HSLhsl(306, 70%, 32%)
HSVhsv(306, 82%, 55%)
CMYKcmyk(0%, 82%, 8.6%, 45.5%)
CIE-LABlab(33.39, 56.27, -30.00)
CIE-LCHlch(33.39, 63.77, 331.93°)
OKLaboklab(45.01% 0.1626 -0.0825)
OKLCHoklch(45.01% 0.182 333.1)
XYZxyz(14.8260, 7.7178, 20.7834)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B197F #198B25
analogous
#5E198B #8B197F #8B1946
triadic
#8B197F #7F8B19 #197F8B
tetradic
#8B197F #8B5E19 #198B25 #19468B
square
#8B197F #8B5E19 #198B25 #19468B
split-complementary
#8B197F #468B19 #198B5E
monochromatic
#230620 #571050 #8B197F #BF22AE #DD41CD

Accessibility & contrast

On white

8.26
#8B197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B197F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B197F#FFFFFF#000000##FFFFFF
##8B197F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124482
Deuteranopia (green-blind)
#42547C
Tritanopia (blue-blind)
#92274C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b197f;
/* rgb */ color: rgb(139, 25, 127);
/* oklch */ color: oklch(45.0% 0.182 333.1);
Tailwind
colors: {
  custom: {
    50: '#b165a4',
    500: '#8b197f',
    950: '#000000',
  },
}
SCSS
$custom: #8b197f;
$custom-light: #b165a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b197f",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 306.316,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45006,
    "c": 0.18235,
    "h": 333.1
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#8B197F
secondary
#42BE4F
accent
#EC4E3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B197F

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

Preview Lab → · Contrast checker → · Palette generator →

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