#8A347C#8A347C

#8A347C is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.2% C 0.146 H 334.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8A347C
RGBrgb(138, 52, 124)
HSLhsl(310, 45%, 37%)
HSVhsv(310, 62%, 54%)
CMYKcmyk(0%, 62.3%, 10.1%, 45.9%)
CIE-LABlab(36.59, 45.61, -23.13)
CIE-LCHlch(36.59, 51.14, 333.11°)
OKLaboklab(47.24% 0.1322 -0.063)
OKLCHoklch(47.24% 0.146 334.5)
XYZxyz(15.3474, 9.3157, 20.0547)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A347C #348A42
analogous
#6D348A #8A347C #8A3451
triadic
#8A347C #7C8A34 #347C8A
tetradic
#8A347C #8A6D34 #348A42 #34518A
square
#8A347C #8A6D34 #348A42 #34518A
split-complementary
#8A347C #518A34 #348A6D
monochromatic
#31132C #5E2354 #8A347C #B645A4 #C96FBA

Accessibility & contrast

On white

7.34
#8A347C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8A347C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A347C
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A347C#FFFFFF#000000##FFFFFF
##8A347C1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a347c;
/* rgb */ color: rgb(138, 52, 124);
/* oklch */ color: oklch(47.2% 0.146 334.5);
Tailwind
colors: {
  custom: {
    50: '#af71a2',
    500: '#8a347c',
    950: '#000000',
  },
}
SCSS
$custom: #8a347c;
$custom-light: #af71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a347c",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 309.767,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.14644,
    "h": 334.5
  },
  "luminance": 0.09314
}

Semantic roles & 50–950 ramp

primary
#8A347C
secondary
#69B175
accent
#D56853
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8A347C

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

Preview Lab → · Contrast checker → · Palette generator →

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