#8A347D#8A347D

#8A347D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.3% C 0.147 H 334.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A347D
RGBrgb(138, 52, 125)
HSLhsl(309, 45%, 37%)
HSVhsv(309, 62%, 54%)
CMYKcmyk(0%, 62.3%, 9.4%, 45.9%)
CIE-LABlab(36.63, 45.78, -23.68)
CIE-LCHlch(36.63, 51.54, 332.65°)
OKLaboklab(47.29% 0.1324 -0.0645)
OKLCHoklch(47.29% 0.147 334)
XYZxyz(15.4110, 9.3411, 20.3894)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A347D #348A41
analogous
#6C348A #8A347D #8A3452
triadic
#8A347D #7D8A34 #347D8A
tetradic
#8A347D #8A6C34 #348A41 #34528A
square
#8A347D #8A6C34 #348A41 #34528A
split-complementary
#8A347D #528A34 #348A6C
monochromatic
#31132C #5E2355 #8A347D #B645A5 #C96FBB

Accessibility & contrast

On white

7.32
#8A347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A347D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A347D#FFFFFF#000000##FFFFFF
##8A347D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#903A53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a347d;
/* rgb */ color: rgb(138, 52, 125);
/* oklch */ color: oklch(47.3% 0.147 334.0);
Tailwind
colors: {
  custom: {
    50: '#af71a3',
    500: '#8a347d',
    950: '#000000',
  },
}
SCSS
$custom: #8a347d;
$custom-light: #af71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a347d",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 309.07,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.14726,
    "h": 334
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#8A347D
secondary
#69B174
accent
#D56753
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A347D

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

Preview Lab → · Contrast checker → · Palette generator →

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