#8B198F#8B198F

#8B198F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.194 H 326.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8B198F
RGBrgb(139, 25, 143)
HSLhsl(298, 70%, 33%)
HSVhsv(298, 83%, 56%)
CMYKcmyk(2.8%, 82.5%, 0%, 43.9%)
CIE-LABlab(34.33, 58.86, -38.43)
CIE-LCHlch(34.33, 70.30, 326.86°)
OKLaboklab(45.98% 0.1623 -0.1069)
OKLCHoklch(45.98% 0.194 326.6)
XYZxyz(15.9527, 8.1685, 26.7177)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B198F #1D8F19
analogous
#50198F #8B198F #8F1958
triadic
#8B198F #8F8B19 #198F8B
tetradic
#8B198F #8F5019 #1D8F19 #19588F
square
#8B198F #8F5019 #1D8F19 #19588F
split-complementary
#8B198F #588F19 #198F50
monochromatic
#260727 #58105B #8B198F #BE22C3 #D944DE

Accessibility & contrast

On white

7.97
#8B198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B198F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B198F#FFFFFF#000000##FFFFFF
##8B198F1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#39558C
Tritanopia (blue-blind)
#8F3055
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b198f;
/* rgb */ color: rgb(139, 25, 143);
/* oklch */ color: oklch(46.0% 0.194 326.6);
Tailwind
colors: {
  custom: {
    50: '#b166b0',
    500: '#8b198f',
    950: '#000000',
  },
}
SCSS
$custom: #8b198f;
$custom-light: #b166b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b198f",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 297.966,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45981,
    "c": 0.19433,
    "h": 326.6
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#8B198F
secondary
#49BF44
accent
#ED3B41
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B198F

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

Preview Lab → · Contrast checker → · Palette generator →

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