#8A3C72#8A3C72

#8A3C72 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 47.8% C 0.126 H 340.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A3C72
RGBrgb(138, 60, 114)
HSLhsl(318, 39%, 39%)
HSVhsv(318, 57%, 54%)
CMYKcmyk(0%, 56.5%, 17.4%, 45.9%)
CIE-LABlab(37.57, 40.09, -15.37)
CIE-LCHlch(37.57, 42.93, 339.02°)
OKLaboklab(47.82% 0.1187 -0.0411)
OKLCHoklch(47.82% 0.126 340.9)
XYZxyz(15.1346, 9.8511, 17.0207)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3C72 #3C8A54
analogous
#7B3C8A #8A3C72 #8A3C4B
triadic
#8A3C72 #728A3C #3C728A
tetradic
#8A3C72 #8A7B3C #3C8A54 #3C4B8A
square
#8A3C72 #8A7B3C #3C8A54 #3C4B8A
split-complementary
#8A3C72 #4B8A3C #3C8A7B
monochromatic
#35172C #5F294F #8A3C72 #B35095 #C67BAF

Accessibility & contrast

On white

7.07
#8A3C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3C72
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3C72#FFFFFF#000000##FFFFFF
##8A3C721.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405174
Deuteranopia (green-blind)
#565D70
Tritanopia (blue-blind)
#923D52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3c72;
/* rgb */ color: rgb(138, 60, 114);
/* oklch */ color: oklch(47.8% 0.126 340.9);
Tailwind
colors: {
  custom: {
    50: '#ae759a',
    500: '#8a3c72',
    950: '#000000',
  },
}
SCSS
$custom: #8a3c72;
$custom-light: #ae759a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3c72",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 114
  },
  "hsl": {
    "h": 318.462,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.12562,
    "h": 340.9
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

primary
#8A3C72
secondary
#73AF85
accent
#CF7D59
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3C72

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

Preview Lab → · Contrast checker → · Palette generator →

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