#8A3374#8A3374

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

Color values

HEX#8A3374
RGBrgb(138, 51, 116)
HSLhsl(315, 46%, 37%)
HSVhsv(315, 63%, 54%)
CMYKcmyk(0%, 63%, 15.9%, 45.9%)
CIE-LABlab(36.05, 44.76, -18.97)
CIE-LCHlch(36.05, 48.61, 337.03°)
OKLaboklab(46.72% 0.1321 -0.0512)
OKLCHoklch(46.72% 0.142 338.8)
XYZxyz(14.8177, 9.0331, 17.4828)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3374 #338A49
analogous
#75338A #8A3374 #8A3349
triadic
#8A3374 #748A33 #33748A
tetradic
#8A3374 #8A7533 #338A49 #33498A
square
#8A3374 #8A7533 #338A49 #33498A
split-complementary
#8A3374 #498A33 #338A75
monochromatic
#311229 #5D224E #8A3374 #B7449A #C96EB2

Accessibility & contrast

On white

7.48
#8A3374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8A3374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3374
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3374#FFFFFF#000000##FFFFFF
##8A33741.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C76
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#92364E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3374;
/* rgb */ color: rgb(138, 51, 116);
/* oklch */ color: oklch(46.7% 0.142 338.8);
Tailwind
colors: {
  custom: {
    50: '#af709c',
    500: '#8a3374',
    950: '#000000',
  },
}
SCSS
$custom: #8a3374;
$custom-light: #af709c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3374",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 315.172,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46721,
    "c": 0.14168,
    "h": 338.8
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#8A3374
secondary
#67B17A
accent
#D67352
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3374

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

Preview Lab → · Contrast checker → · Palette generator →

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