#8A3C71#8A3C71

#8A3C71 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.8% C 0.125 H 341.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8A3C71
RGBrgb(138, 60, 113)
HSLhsl(319, 39%, 39%)
HSVhsv(319, 57%, 54%)
CMYKcmyk(0%, 56.5%, 18.1%, 45.9%)
CIE-LABlab(37.53, 39.92, -14.81)
CIE-LCHlch(37.53, 42.58, 339.65°)
OKLaboklab(47.77% 0.1184 -0.0396)
OKLCHoklch(47.77% 0.125 341.5)
XYZxyz(15.0780, 9.8285, 16.7225)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C71 #3C8A55
analogous
#7C3C8A #8A3C71 #8A3C4A
triadic
#8A3C71 #718A3C #3C718A
tetradic
#8A3C71 #8A7C3C #3C8A55 #3C4A8A
square
#8A3C71 #8A7C3C #3C8A55 #3C4A8A
split-complementary
#8A3C71 #4A8A3C #3C8A7C
monochromatic
#35172B #5F294E #8A3C71 #B35093 #C67BAE

Accessibility & contrast

On white

7.08
#8A3C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A3C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3C71
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C71#FFFFFF#000000##FFFFFF
##8A3C711.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415073
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#923D51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3c71;
/* rgb */ color: rgb(138, 60, 113);
/* oklch */ color: oklch(47.8% 0.125 341.5);
Tailwind
colors: {
  custom: {
    50: '#ae759a',
    500: '#8a3c71',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c71;
$custom-light: #ae759a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c71",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 319.231,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.12487,
    "h": 341.5
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#8A3C71
secondary
#73AF86
accent
#CF7F59
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3C71

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

Preview Lab → · Contrast checker → · Palette generator →

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