#8A3597#8A3597

#8A3597 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.169 H 322.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A3597
RGBrgb(138, 53, 151)
HSLhsl(292, 48%, 40%)
HSVhsv(292, 65%, 59%)
CMYKcmyk(8.6%, 64.9%, 0%, 40.8%)
CIE-LABlab(38.17, 50.08, -37.21)
CIE-LCHlch(38.17, 62.39, 323.39°)
OKLaboklab(48.85% 0.1333 -0.1036)
OKLCHoklch(48.85% 0.169 322.1)
XYZxyz(17.3397, 10.1848, 30.3247)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3597 #429735
analogous
#593597 #8A3597 #973573
triadic
#8A3597 #978A35 #35978A
tetradic
#8A3597 #975935 #429735 #357397
square
#8A3597 #975935 #429735 #357397
split-complementary
#8A3597 #739735 #359759
monochromatic
#37153C #61256A #8A3597 #B04ABF #C477CF

Accessibility & contrast

On white

6.92
#8A3597 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A3597 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3597
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3597#FFFFFF#000000##FFFFFF
##8A35971.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#8C4561
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3597;
/* rgb */ color: rgb(138, 53, 151);
/* oklch */ color: oklch(48.9% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#af73b6',
    500: '#8a3597',
    950: '#000000',
  },
}
SCSS
$custom: #8a3597;
$custom-light: #af73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3597",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 292.041,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.48851,
    "c": 0.16882,
    "h": 322.1
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#8A3597
secondary
#79B870
accent
#D85062
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3597

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

Preview Lab → · Contrast checker → · Palette generator →

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