#8A348A#8A348A

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

Color values

HEX#8A348A
RGBrgb(138, 52, 138)
HSLhsl(300, 45%, 37%)
HSVhsv(300, 62%, 54%)
CMYKcmyk(0%, 62.3%, 0%, 45.9%)
CIE-LABlab(37.29, 48.07, -30.68)
CIE-LCHlch(37.29, 57.03, 327.46°)
OKLaboklab(47.98% 0.1339 -0.0846)
OKLCHoklch(47.98% 0.158 327.7)
XYZxyz(16.2964, 9.6953, 25.0529)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A348A #348A34
analogous
#5F348A #8A348A #8A345F
triadic
#8A348A #8A8A34 #348A8A
tetradic
#8A348A #8A5F34 #348A34 #345F8A
square
#8A348A #8A5F34 #348A34 #345F8A
split-complementary
#8A348A #5F8A34 #348A5F
monochromatic
#311331 #5E235E #8A348A #B645B6 #C96FC9

Accessibility & contrast

On white

7.15
#8A348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8A348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A348A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A348A#FFFFFF#000000##FFFFFF
##8A348A1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518D
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#8E3F5A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a348a;
/* rgb */ color: rgb(138, 52, 138);
/* oklch */ color: oklch(48.0% 0.158 327.7);
Tailwind
colors: {
  custom: {
    50: '#af72ac',
    500: '#8a348a',
    950: '#000000',
  },
}
SCSS
$custom: #8a348a;
$custom-light: #af72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a348a",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47979,
    "c": 0.15841,
    "h": 327.7
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#8A348A
secondary
#69B169
accent
#D55353
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A348A

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

Preview Lab → · Contrast checker → · Palette generator →

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