#8A3F73#8A3F73

#8A3F73 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.3% C 0.121 H 340.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A3F73
RGBrgb(138, 63, 115)
HSLhsl(318, 37%, 39%)
HSVhsv(318, 54%, 54%)
CMYKcmyk(0%, 54.3%, 16.7%, 45.9%)
CIE-LABlab(38.19, 38.71, -15.04)
CIE-LCHlch(38.19, 41.53, 338.76°)
OKLaboklab(48.29% 0.1144 -0.0403)
OKLCHoklch(48.29% 0.121 340.6)
XYZxyz(15.3535, 10.1973, 17.3760)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F73 #3F8A56
analogous
#7C3F8A #8A3F73 #8A3F4E
triadic
#8A3F73 #738A3F #3F738A
tetradic
#8A3F73 #8A7C3F #3F8A56 #3F4E8A
square
#8A3F73 #8A7C3F #3F8A56 #3F4E8A
split-complementary
#8A3F73 #4E8A3F #3F8A7C
monochromatic
#36192D #602C50 #8A3F73 #B15595 #C57FAF

Accessibility & contrast

On white

6.91
#8A3F73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A3F73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F73
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F73#FFFFFF#000000##FFFFFF
##8A3F731.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435275
Deuteranopia (green-blind)
#585E71
Tritanopia (blue-blind)
#914054
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3f73;
/* rgb */ color: rgb(138, 63, 115);
/* oklch */ color: oklch(48.3% 0.121 340.6);
Tailwind
colors: {
  custom: {
    50: '#ae779b',
    500: '#8a3f73',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f73;
$custom-light: #ae779b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f73",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 115
  },
  "hsl": {
    "h": 318.4,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48292,
    "c": 0.12125,
    "h": 340.6
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#8A3F73
secondary
#76AF87
accent
#CD7E5B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3F73

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

Preview Lab → · Contrast checker → · Palette generator →

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