#8A197C#8A197C

#8A197C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.180 H 334.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A197C
RGBrgb(138, 25, 124)
HSLhsl(307, 69%, 32%)
HSVhsv(307, 82%, 54%)
CMYKcmyk(0%, 81.9%, 10.1%, 45.9%)
CIE-LABlab(33.04, 55.59, -28.69)
CIE-LCHlch(33.04, 62.55, 332.70°)
OKLaboklab(44.67% 0.1615 -0.0787)
OKLCHoklch(44.67% 0.18 334)
XYZxyz(14.4671, 7.5551, 19.7612)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A197C #198A27
analogous
#60198A #8A197C #8A1943
triadic
#8A197C #7C8A19 #197C8A
tetradic
#8A197C #8A6019 #198A27 #19438A
square
#8A197C #8A6019 #198A27 #19438A
split-complementary
#8A197C #438A19 #198A60
monochromatic
#22061F #56104D #8A197C #BE22AB #DD41C9

Accessibility & contrast

On white

8.36
#8A197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A197C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A197C#FFFFFF#000000##FFFFFF
##8A197C1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15437F
Deuteranopia (green-blind)
#435379
Tritanopia (blue-blind)
#91254A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a197c;
/* rgb */ color: rgb(138, 25, 124);
/* oklch */ color: oklch(44.7% 0.180 334.0);
Tailwind
colors: {
  custom: {
    50: '#b065a2',
    500: '#8a197c',
    950: '#000000',
  },
}
SCSS
$custom: #8a197c;
$custom-light: #b065a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a197c",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 307.434,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44669,
    "c": 0.17968,
    "h": 334
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#8A197C
secondary
#42BD51
accent
#EC523C
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8A197C

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

Preview Lab → · Contrast checker → · Palette generator →

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