#8A349A#8A349A

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

Color values

HEX#8A349A
RGBrgb(138, 52, 154)
HSLhsl(291, 50%, 40%)
HSVhsv(291, 66%, 60%)
CMYKcmyk(10.4%, 66.2%, 0%, 39.6%)
CIE-LABlab(38.19, 51.11, -39.00)
CIE-LCHlch(38.19, 64.29, 322.65°)
OKLaboklab(48.92% 0.1345 -0.1088)
OKLCHoklch(48.92% 0.173 321)
XYZxyz(17.5413, 10.1932, 31.6091)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A349A #449A34
analogous
#57349A #8A349A #9A3477
triadic
#8A349A #9A8A34 #349A8A
tetradic
#8A349A #9A5734 #449A34 #34779A
square
#8A349A #9A5734 #449A34 #34779A
split-complementary
#8A349A #779A34 #349A57
monochromatic
#38153E #61256C #8A349A #AF49C2 #C377D1

Accessibility & contrast

On white

6.91
#8A349A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A349A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A349A#FFFFFF#000000##FFFFFF
##8A349A1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549D
Deuteranopia (green-blind)
#3F5D97
Tritanopia (blue-blind)
#8B4562
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a349a;
/* rgb */ color: rgb(138, 52, 154);
/* oklch */ color: oklch(48.9% 0.173 321.0);
Tailwind
colors: {
  custom: {
    50: '#af72b8',
    500: '#8a349a',
    950: '#000000',
  },
}
SCSS
$custom: #8a349a;
$custom-light: #af72b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a349a",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 290.588,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.17303,
    "h": 321
  },
  "luminance": 0.10192
}

Semantic roles & 50–950 ramp

primary
#8A349A
secondary
#7CBA70
accent
#D94F64
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A349A

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

Preview Lab → · Contrast checker → · Palette generator →

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