#8A7196#8A7196

#8A7196 is a mid, moderate purple. Relative luminance 0.194; OKLCH L 58.6% C 0.063 H 314.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A7196
RGBrgb(138, 113, 150)
HSLhsl(281, 15%, 52%)
HSVhsv(281, 25%, 59%)
CMYKcmyk(8%, 24.7%, 0%, 41.2%)
CIE-LABlab(51.17, 16.96, -16.38)
CIE-LCHlch(51.17, 23.58, 315.99°)
OKLaboklab(58.56% 0.044 -0.0445)
OKLCHoklch(58.56% 0.063 314.7)
XYZxyz(21.8905, 19.4158, 31.4427)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7196 #7D9671
analogous
#787196 #8A7196 #967190
triadic
#8A7196 #968A71 #71968A
tetradic
#8A7196 #967871 #7D9671 #719096
square
#8A7196 #967871 #7D9671 #719096
split-complementary
#8A7196 #909671 #719678
monochromatic
#4A3C51 #6A5674 #8A7196 #A794B0 #C4B7CA

Accessibility & contrast

On white

4.30
#8A7196 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8A7196 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7196
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7196#FFFFFF#000000##000000
##8A71961.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7898
Deuteranopia (green-blind)
#717B95
Tritanopia (blue-blind)
#89757E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7196;
/* rgb */ color: rgb(138, 113, 150);
/* oklch */ color: oklch(58.6% 0.063 314.7);
Tailwind
colors: {
  custom: {
    50: '#ac9ab5',
    500: '#8a7196',
    950: '#000000',
  },
}
SCSS
$custom: #8a7196;
$custom-light: #ac9ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7196",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 150
  },
  "hsl": {
    "h": 280.541,
    "s": 14.98,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58564,
    "c": 0.06253,
    "h": 314.7
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#8A7196
secondary
#AFBAA9
accent
#B87087
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7196

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

Preview Lab → · Contrast checker → · Palette generator →

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