#8A199E#8A199E

#8A199E is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.8% C 0.206 H 320.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8A199E
RGBrgb(138, 25, 158)
HSLhsl(291, 73%, 36%)
HSVhsv(291, 84%, 62%)
CMYKcmyk(12.7%, 84.2%, 0%, 38%)
CIE-LABlab(35.14, 61.28, -46.31)
CIE-LCHlch(35.14, 76.81, 322.93°)
OKLaboklab(46.83% 0.1594 -0.13)
OKLCHoklch(46.83% 0.206 320.8)
XYZxyz(16.9997, 8.5681, 33.0995)
Luminance0.0857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A199E #2D9E19
analogous
#47199E #8A199E #9E196F
triadic
#8A199E #9E8A19 #199E8A
tetradic
#8A199E #9E4719 #2D9E19 #196F9E
square
#8A199E #9E4719 #2D9E19 #196F9E
split-complementary
#8A199E #6F9E19 #199E47
monochromatic
#2E0834 #5C1169 #8A199E #B821D3 #CD4EE3

Accessibility & contrast

On white

7.74
#8A199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A199E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A199E#FFFFFF#000000##FFFFFF
##8A199E1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a199e;
/* rgb */ color: rgb(138, 25, 158);
/* oklch */ color: oklch(46.8% 0.206 320.8);
Tailwind
colors: {
  custom: {
    50: '#b067bb',
    500: '#8a199e',
    950: '#000000',
  },
}
SCSS
$custom: #8a199e;
$custom-light: #b067bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a199e",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 290.977,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4683,
    "c": 0.20567,
    "h": 320.8
  },
  "luminance": 0.08567
}

Semantic roles & 50–950 ramp

primary
#8A199E
secondary
#60C54E
accent
#EF3854
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A199E

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

Preview Lab → · Contrast checker → · Palette generator →

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