#8A3574#8A3574

#8A3574 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.0% C 0.139 H 339.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8A3574
RGBrgb(138, 53, 116)
HSLhsl(316, 45%, 37%)
HSVhsv(316, 62%, 54%)
CMYKcmyk(0%, 61.6%, 15.9%, 45.9%)
CIE-LABlab(36.39, 43.83, -18.44)
CIE-LCHlch(36.39, 47.55, 337.18°)
OKLaboklab(46.97% 0.1294 -0.0497)
OKLCHoklch(46.97% 0.139 339)
XYZxyz(14.9070, 9.2117, 17.5125)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3574 #358A4B
analogous
#75358A #8A3574 #8A354A
triadic
#8A3574 #748A35 #35748A
tetradic
#8A3574 #8A7535 #358A4B #354A8A
square
#8A3574 #8A7535 #358A4B #354A8A
split-complementary
#8A3574 #4A8A35 #358A75
monochromatic
#32132A #5E244F #8A3574 #B64699 #C871B2

Accessibility & contrast

On white

7.39
#8A3574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8A3574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3574
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3574#FFFFFF#000000##FFFFFF
##8A35741.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D76
Deuteranopia (green-blind)
#525A72
Tritanopia (blue-blind)
#91384F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3574;
/* rgb */ color: rgb(138, 53, 116);
/* oklch */ color: oklch(47.0% 0.139 339.0);
Tailwind
colors: {
  custom: {
    50: '#af719c',
    500: '#8a3574',
    950: '#000000',
  },
}
SCSS
$custom: #8a3574;
$custom-light: #af719c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3574",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 116
  },
  "hsl": {
    "h": 315.529,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46971,
    "c": 0.13857,
    "h": 339
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

primary
#8A3574
secondary
#6AB17C
accent
#D47554
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3574

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

Preview Lab → · Contrast checker → · Palette generator →

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