#8B198A#8B198A

#8B198A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.191 H 328.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8B198A
RGBrgb(139, 25, 138)
HSLhsl(301, 70%, 32%)
HSVhsv(301, 82%, 55%)
CMYKcmyk(0%, 82%, 0.7%, 45.5%)
CIE-LABlab(34.03, 58.03, -35.84)
CIE-LCHlch(34.03, 68.20, 328.30°)
OKLaboklab(45.67% 0.1625 -0.0994)
OKLCHoklch(45.67% 0.191 328.6)
XYZxyz(15.5824, 8.0204, 24.7672)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B198A #198B1A
analogous
#53198B #8B198A #8B1951
triadic
#8B198A #8A8B19 #198A8B
tetradic
#8B198A #8B5319 #198B1A #19518B
square
#8B198A #8B5319 #198B1A #19518B
split-complementary
#8B198A #518B19 #198B53
monochromatic
#230623 #571057 #8B198A #BF22BD #DD41DC

Accessibility & contrast

On white

8.07
#8B198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8B198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B198A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B198A#FFFFFF#000000##FFFFFF
##8B198A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#3C5587
Tritanopia (blue-blind)
#902D52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b198a;
/* rgb */ color: rgb(139, 25, 138);
/* oklch */ color: oklch(45.7% 0.191 328.6);
Tailwind
colors: {
  custom: {
    50: '#b166ad',
    500: '#8b198a',
    950: '#000000',
  },
}
SCSS
$custom: #8b198a;
$custom-light: #b166ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b198a",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 300.526,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45665,
    "c": 0.19051,
    "h": 328.6
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#8B198A
secondary
#42BE43
accent
#EC3D3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B198A

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

Preview Lab → · Contrast checker → · Palette generator →

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