#8A3774#8A3774

#8A3774 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.2% C 0.135 H 339.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8A3774
RGBrgb(138, 55, 116)
HSLhsl(316, 43%, 38%)
HSVhsv(316, 60%, 54%)
CMYKcmyk(0%, 60.1%, 15.9%, 45.9%)
CIE-LABlab(36.74, 42.88, -17.90)
CIE-LCHlch(36.74, 46.46, 337.34°)
OKLaboklab(47.23% 0.1265 -0.0482)
OKLCHoklch(47.23% 0.135 339.1)
XYZxyz(15.0001, 9.3978, 17.5436)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3774 #378A4D
analogous
#77378A #8A3774 #8A374A
triadic
#8A3774 #748A37 #37748A
tetradic
#8A3774 #8A7737 #378A4D #374A8A
square
#8A3774 #8A7737 #378A4D #374A8A
split-complementary
#8A3774 #4A8A37 #378A77
monochromatic
#32142A #5E264F #8A3774 #B64899 #C874B1

Accessibility & contrast

On white

7.29
#8A3774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A3774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3774
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3774#FFFFFF#000000##FFFFFF
##8A37741.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E76
Deuteranopia (green-blind)
#535B72
Tritanopia (blue-blind)
#913950
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3774;
/* rgb */ color: rgb(138, 55, 116);
/* oklch */ color: oklch(47.2% 0.135 339.1);
Tailwind
colors: {
  custom: {
    50: '#af739c',
    500: '#8a3774',
    950: '#000000',
  },
}
SCSS
$custom: #8a3774;
$custom-light: #af739c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3774",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 116
  },
  "hsl": {
    "h": 315.904,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47229,
    "c": 0.13539,
    "h": 339.1
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#8A3774
secondary
#6DB07E
accent
#D37655
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3774

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

Preview Lab → · Contrast checker → · Palette generator →

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