#8B197C#8B197C

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

Color values

HEX#8B197C
RGBrgb(139, 25, 124)
HSLhsl(308, 70%, 32%)
HSVhsv(308, 82%, 55%)
CMYKcmyk(0%, 82%, 10.8%, 45.5%)
CIE-LABlab(33.22, 55.81, -28.38)
CIE-LCHlch(33.22, 62.61, 333.05°)
OKLaboklab(44.84% 0.1625 -0.0778)
OKLCHoklch(44.84% 0.18 334.4)
XYZxyz(14.6334, 7.6408, 19.7690)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B197C #198B28
analogous
#61198B #8B197C #8B1943
triadic
#8B197C #7C8B19 #197C8B
tetradic
#8B197C #8B6119 #198B28 #19438B
square
#8B197C #8B6119 #198B28 #19438B
split-complementary
#8B197C #438B19 #198B61
monochromatic
#23061F #57104E #8B197C #BF22AA #DD41C8

Accessibility & contrast

On white

8.31
#8B197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B197C
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B197C#FFFFFF#000000##FFFFFF
##8B197C1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16447F
Deuteranopia (green-blind)
#445479
Tritanopia (blue-blind)
#92254A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b197c;
/* rgb */ color: rgb(139, 25, 124);
/* oklch */ color: oklch(44.8% 0.180 334.4);
Tailwind
colors: {
  custom: {
    50: '#b165a2',
    500: '#8b197c',
    950: '#000000',
  },
}
SCSS
$custom: #8b197c;
$custom-light: #b165a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b197c",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 307.895,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.1802,
    "h": 334.4
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#8B197C
secondary
#42BE52
accent
#EC533B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B197C

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

Preview Lab → · Contrast checker → · Palette generator →

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