#8B199E#8B199E

#8B199E is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.0% C 0.206 H 321.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8B199E
RGBrgb(139, 25, 158)
HSLhsl(291, 73%, 36%)
HSVhsv(291, 84%, 62%)
CMYKcmyk(12%, 84.2%, 0%, 38%)
CIE-LABlab(35.31, 61.47, -46.02)
CIE-LCHlch(35.31, 76.79, 323.18°)
OKLaboklab(46.98% 0.1606 -0.1291)
OKLCHoklch(46.98% 0.206 321.2)
XYZxyz(17.1659, 8.6538, 33.1073)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B199E #2C9E19
analogous
#49199E #8B199E #9E196E
triadic
#8B199E #9E8B19 #199E8B
tetradic
#8B199E #9E4919 #2C9E19 #196E9E
square
#8B199E #9E4919 #2C9E19 #196E9E
split-complementary
#8B199E #6E9E19 #199E49
monochromatic
#2E0834 #5D1169 #8B199E #B921D3 #CE4EE3

Accessibility & contrast

On white

7.69
#8B199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8B199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B199E
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B199E#FFFFFF#000000##FFFFFF
##8B199E1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#2C579B
Tritanopia (blue-blind)
#8C385E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b199e;
/* rgb */ color: rgb(139, 25, 158);
/* oklch */ color: oklch(47.0% 0.206 321.2);
Tailwind
colors: {
  custom: {
    50: '#b167bb',
    500: '#8b199e',
    950: '#000000',
  },
}
SCSS
$custom: #8b199e;
$custom-light: #b167bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b199e",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 291.429,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46982,
    "c": 0.20605,
    "h": 321.2
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#8B199E
secondary
#5FC54E
accent
#EF3853
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B199E

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

Preview Lab → · Contrast checker → · Palette generator →

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