#8A3487#8A3487

#8A3487 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.8% C 0.156 H 329.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8A3487
RGBrgb(138, 52, 135)
HSLhsl(302, 45%, 37%)
HSVhsv(302, 62%, 54%)
CMYKcmyk(0%, 62.3%, 2.2%, 45.9%)
CIE-LABlab(37.13, 47.53, -29.08)
CIE-LCHlch(37.13, 55.72, 328.54°)
OKLaboklab(47.81% 0.1336 -0.08)
OKLCHoklch(47.81% 0.156 329.1)
XYZxyz(16.0822, 9.6096, 23.9248)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3487 #348A37
analogous
#62348A #8A3487 #8A345C
triadic
#8A3487 #878A34 #34878A
tetradic
#8A3487 #8A6234 #348A37 #345C8A
square
#8A3487 #8A6234 #348A37 #345C8A
split-complementary
#8A3487 #5C8A34 #348A62
monochromatic
#311330 #5E235C #8A3487 #B645B2 #C96FC6

Accessibility & contrast

On white

7.19
#8A3487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A3487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3487
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3487#FFFFFF#000000##FFFFFF
##8A34871.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C508A
Deuteranopia (green-blind)
#4A5B85
Tritanopia (blue-blind)
#8F3E58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3487;
/* rgb */ color: rgb(138, 52, 135);
/* oklch */ color: oklch(47.8% 0.156 329.1);
Tailwind
colors: {
  custom: {
    50: '#af71aa',
    500: '#8a3487',
    950: '#000000',
  },
}
SCSS
$custom: #8a3487;
$custom-light: #af71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3487",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 302.093,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.15576,
    "h": 329.1
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#8A3487
secondary
#69B16B
accent
#D55753
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3487

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

Preview Lab → · Contrast checker → · Palette generator →

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