#8A3B97#8A3B97

#8A3B97 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.6% C 0.160 H 321.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8A3B97
RGBrgb(138, 59, 151)
HSLhsl(292, 44%, 41%)
HSVhsv(292, 61%, 59%)
CMYKcmyk(8.6%, 60.9%, 0%, 40.8%)
CIE-LABlab(39.18, 47.29, -35.60)
CIE-LCHlch(39.18, 59.19, 323.03°)
OKLaboklab(49.59% 0.1257 -0.099)
OKLCHoklch(49.59% 0.16 321.8)
XYZxyz(17.6305, 10.7664, 30.4216)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B97 #48973B
analogous
#5C3B97 #8A3B97 #973B76
triadic
#8A3B97 #978A3B #3B978A
tetradic
#8A3B97 #975C3B #48973B #3B7697
square
#8A3B97 #975C3B #48973B #3B7697
split-complementary
#8A3B97 #76973B #3B975C
monochromatic
#3A193F #622A6B #8A3B97 #AD53BC #C27FCD

Accessibility & contrast

On white

6.66
#8A3B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8A3B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3B97
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B97#FFFFFF#000000##FFFFFF
##8A3B971.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579A
Deuteranopia (green-blind)
#465F95
Tritanopia (blue-blind)
#8C4963
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3b97;
/* rgb */ color: rgb(138, 59, 151);
/* oklch */ color: oklch(49.6% 0.160 321.8);
Tailwind
colors: {
  custom: {
    50: '#af76b6',
    500: '#8a3b97',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b97;
$custom-light: #af76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b97",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 291.522,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49586,
    "c": 0.16001,
    "h": 321.8
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#8A3B97
secondary
#80B777
accent
#D45466
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3B97

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

Preview Lab → · Contrast checker → · Palette generator →

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