#8A347E#8A347E

#8A347E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.3% C 0.148 H 333.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8A347E
RGBrgb(138, 52, 126)
HSLhsl(308, 45%, 37%)
HSVhsv(308, 62%, 54%)
CMYKcmyk(0%, 62.3%, 8.7%, 45.9%)
CIE-LABlab(36.68, 45.95, -24.22)
CIE-LCHlch(36.68, 51.94, 332.21°)
OKLaboklab(47.34% 0.1325 -0.0661)
OKLCHoklch(47.34% 0.148 333.5)
XYZxyz(15.4752, 9.3668, 20.7275)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A347E #348A40
analogous
#6B348A #8A347E #8A3453
triadic
#8A347E #7E8A34 #347E8A
tetradic
#8A347E #8A6B34 #348A40 #34538A
square
#8A347E #8A6B34 #348A40 #34538A
split-complementary
#8A347E #538A34 #348A6B
monochromatic
#31132D #5E2355 #8A347E #B645A7 #C96FBC

Accessibility & contrast

On white

7.31
#8A347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A347E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A347E#FFFFFF#000000##FFFFFF
##8A347E1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#903A54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a347e;
/* rgb */ color: rgb(138, 52, 126);
/* oklch */ color: oklch(47.3% 0.148 333.5);
Tailwind
colors: {
  custom: {
    50: '#af71a3',
    500: '#8a347e',
    950: '#000000',
  },
}
SCSS
$custom: #8a347e;
$custom-light: #af71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a347e",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 308.372,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.14808,
    "h": 333.5
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#8A347E
secondary
#69B173
accent
#D56553
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A347E

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

Preview Lab → · Contrast checker → · Palette generator →

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