#8A3489#8A3489

#8A3489 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.9% C 0.158 H 328.2°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A3489
RGBrgb(138, 52, 137)
HSLhsl(301, 45%, 37%)
HSVhsv(301, 62%, 54%)
CMYKcmyk(0%, 62.3%, 0.7%, 45.9%)
CIE-LABlab(37.24, 47.89, -30.14)
CIE-LCHlch(37.24, 56.59, 327.81°)
OKLaboklab(47.92% 0.1338 -0.0831)
OKLCHoklch(47.92% 0.158 328.2)
XYZxyz(16.2244, 9.6665, 24.6733)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3489 #348A35
analogous
#60348A #8A3489 #8A345E
triadic
#8A3489 #898A34 #34898A
tetradic
#8A3489 #8A6034 #348A35 #345E8A
square
#8A3489 #8A6034 #348A35 #345E8A
split-complementary
#8A3489 #5E8A34 #348A60
monochromatic
#311331 #5E235D #8A3489 #B645B5 #C96FC8

Accessibility & contrast

On white

7.16
#8A3489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A3489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3489
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3489#FFFFFF#000000##FFFFFF
##8A34891.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508C
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#8E3F59
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3489;
/* rgb */ color: rgb(138, 52, 137);
/* oklch */ color: oklch(47.9% 0.158 328.2);
Tailwind
colors: {
  custom: {
    50: '#af72ac',
    500: '#8a3489',
    950: '#000000',
  },
}
SCSS
$custom: #8a3489;
$custom-light: #af72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3489",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 137
  },
  "hsl": {
    "h": 300.698,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.15751,
    "h": 328.2
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#8A3489
secondary
#69B16A
accent
#D55453
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3489

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

Preview Lab → · Contrast checker → · Palette generator →

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