#8B197D#8B197D

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

Color values

HEX#8B197D
RGBrgb(139, 25, 125)
HSLhsl(307, 70%, 32%)
HSVhsv(307, 82%, 55%)
CMYKcmyk(0%, 82%, 10.1%, 45.5%)
CIE-LABlab(33.28, 55.96, -28.92)
CIE-LCHlch(33.28, 63.00, 332.67°)
OKLaboklab(44.89% 0.1626 -0.0794)
OKLCHoklch(44.89% 0.181 334)
XYZxyz(14.6969, 7.6662, 20.1038)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B197D #198B27
analogous
#60198B #8B197D #8B1944
triadic
#8B197D #7D8B19 #197D8B
tetradic
#8B197D #8B6019 #198B27 #19448B
square
#8B197D #8B6019 #198B27 #19448B
split-complementary
#8B197D #448B19 #198B60
monochromatic
#230620 #57104E #8B197D #BF22AC #DD41CA

Accessibility & contrast

On white

8.29
#8B197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B197D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B197D#FFFFFF#000000##FFFFFF
##8B197D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b197d;
/* rgb */ color: rgb(139, 25, 125);
/* oklch */ color: oklch(44.9% 0.181 334.0);
Tailwind
colors: {
  custom: {
    50: '#b165a3',
    500: '#8b197d',
    950: '#000000',
  },
}
SCSS
$custom: #8b197d;
$custom-light: #b165a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b197d",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 307.368,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44892,
    "c": 0.18092,
    "h": 334
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#8B197D
secondary
#42BE51
accent
#EC513B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B197D

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

Preview Lab → · Contrast checker → · Palette generator →

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