#8A347B#8A347B

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

Color values

HEX#8A347B
RGBrgb(138, 52, 123)
HSLhsl(310, 45%, 37%)
HSVhsv(310, 62%, 54%)
CMYKcmyk(0%, 62.3%, 10.9%, 45.9%)
CIE-LABlab(36.54, 45.44, -22.58)
CIE-LCHlch(36.54, 50.74, 333.58°)
OKLaboklab(47.19% 0.132 -0.0614)
OKLCHoklch(47.19% 0.146 335.1)
XYZxyz(15.2845, 9.2905, 19.7233)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A347B #348A43
analogous
#6E348A #8A347B #8A3450
triadic
#8A347B #7B8A34 #347B8A
tetradic
#8A347B #8A6E34 #348A43 #34508A
square
#8A347B #8A6E34 #348A43 #34508A
split-complementary
#8A347B #508A34 #348A6E
monochromatic
#31132C #5E2353 #8A347B #B645A3 #C96FB9

Accessibility & contrast

On white

7.35
#8A347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A347B
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A347B#FFFFFF#000000##FFFFFF
##8A347B1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#913952
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a347b;
/* rgb */ color: rgb(138, 52, 123);
/* oklch */ color: oklch(47.2% 0.146 335.1);
Tailwind
colors: {
  custom: {
    50: '#af71a1',
    500: '#8a347b',
    950: '#000000',
  },
}
SCSS
$custom: #8a347b;
$custom-light: #af71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a347b",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 310.465,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.14563,
    "h": 335.1
  },
  "luminance": 0.09289
}

Semantic roles & 50–950 ramp

primary
#8A347B
secondary
#69B175
accent
#D56A53
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8A347B

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

Preview Lab → · Contrast checker → · Palette generator →

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