#8B198D#8B198D

#8B198D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.193 H 327.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8B198D
RGBrgb(139, 25, 141)
HSLhsl(299, 70%, 33%)
HSVhsv(299, 82%, 55%)
CMYKcmyk(1.4%, 82.3%, 0%, 44.7%)
CIE-LABlab(34.21, 58.52, -37.40)
CIE-LCHlch(34.21, 69.45, 327.42°)
OKLaboklab(45.85% 0.1624 -0.1039)
OKLCHoklch(45.85% 0.193 327.4)
XYZxyz(15.8026, 8.1085, 25.9269)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B198D #1B8D19
analogous
#51198D #8B198D #8D1955
triadic
#8B198D #8D8B19 #198D8B
tetradic
#8B198D #8D5119 #1B8D19 #19558D
square
#8B198D #8D5119 #1B8D19 #19558D
split-complementary
#8B198D #558D19 #198D51
monochromatic
#250725 #581059 #8B198D #BE22C1 #DB43DE

Accessibility & contrast

On white

8.01
#8B198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8B198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B198D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B198D#FFFFFF#000000##FFFFFF
##8B198D1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#3A558A
Tritanopia (blue-blind)
#8F2F54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b198d;
/* rgb */ color: rgb(139, 25, 141);
/* oklch */ color: oklch(45.9% 0.193 327.4);
Tailwind
colors: {
  custom: {
    50: '#b166af',
    500: '#8b198d',
    950: '#000000',
  },
}
SCSS
$custom: #8b198d;
$custom-light: #b166af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b198d",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 298.966,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45853,
    "c": 0.1928,
    "h": 327.4
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#8B198D
secondary
#45BF43
accent
#ED3B3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B198D

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

Preview Lab → · Contrast checker → · Palette generator →

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