#8A3F76#8A3F76

#8A3F76 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.4% C 0.124 H 338.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A3F76
RGBrgb(138, 63, 118)
HSLhsl(316, 37%, 39%)
HSVhsv(316, 54%, 54%)
CMYKcmyk(0%, 54.3%, 14.5%, 45.9%)
CIE-LABlab(38.32, 39.21, -16.72)
CIE-LCHlch(38.32, 42.63, 336.91°)
OKLaboklab(48.43% 0.1151 -0.045)
OKLCHoklch(48.43% 0.124 338.7)
XYZxyz(15.5289, 10.2675, 18.3000)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F76 #3F8A53
analogous
#793F8A #8A3F76 #8A3F51
triadic
#8A3F76 #768A3F #3F768A
tetradic
#8A3F76 #8A793F #3F8A53 #3F518A
square
#8A3F76 #8A793F #3F8A53 #3F518A
split-complementary
#8A3F76 #518A3F #3F8A79
monochromatic
#36192E #602C52 #8A3F76 #B15599 #C57FB2

Accessibility & contrast

On white

6.88
#8A3F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A3F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F76
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F76#FFFFFF#000000##FFFFFF
##8A3F761.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425378
Deuteranopia (green-blind)
#575F74
Tritanopia (blue-blind)
#914155
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3f76;
/* rgb */ color: rgb(138, 63, 118);
/* oklch */ color: oklch(48.4% 0.124 338.7);
Tailwind
colors: {
  custom: {
    50: '#ae779d',
    500: '#8a3f76',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f76;
$custom-light: #ae779d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f76",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 118
  },
  "hsl": {
    "h": 316,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48425,
    "c": 0.12359,
    "h": 338.7
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#8A3F76
secondary
#76AF85
accent
#CD795B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3F76

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

Preview Lab → · Contrast checker → · Palette generator →

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