#8A3276#8A3276

#8A3276 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.145 H 337.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8A3276
RGBrgb(138, 50, 118)
HSLhsl(314, 47%, 37%)
HSVhsv(314, 64%, 54%)
CMYKcmyk(0%, 63.8%, 14.5%, 45.9%)
CIE-LABlab(35.97, 45.53, -20.34)
CIE-LCHlch(35.97, 49.87, 335.93°)
OKLaboklab(46.7% 0.1339 -0.055)
OKLCHoklch(46.7% 0.145 337.7)
XYZxyz(14.8921, 8.9937, 18.0877)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3276 #328A46
analogous
#72328A #8A3276 #8A324A
triadic
#8A3276 #768A32 #32768A
tetradic
#8A3276 #8A7232 #328A46 #324A8A
square
#8A3276 #8A7232 #328A46 #324A8A
split-complementary
#8A3276 #4A8A32 #328A72
monochromatic
#301129 #5D2250 #8A3276 #B7429C #CA6CB5

Accessibility & contrast

On white

7.50
#8A3276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8A3276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3276
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3276#FFFFFF#000000##FFFFFF
##8A32761.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354C78
Deuteranopia (green-blind)
#505A74
Tritanopia (blue-blind)
#91364F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3276;
/* rgb */ color: rgb(138, 50, 118);
/* oklch */ color: oklch(46.7% 0.145 337.7);
Tailwind
colors: {
  custom: {
    50: '#af709d',
    500: '#8a3276',
    950: '#000000',
  },
}
SCSS
$custom: #8a3276;
$custom-light: #af709d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3276",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 313.636,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46695,
    "c": 0.14473,
    "h": 337.7
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#8A3276
secondary
#66B277
accent
#D67051
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3276

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

Preview Lab → · Contrast checker → · Palette generator →

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