#8A3D76#8A3D76

#8A3D76 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.1% C 0.127 H 338.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8A3D76
RGBrgb(138, 61, 118)
HSLhsl(316, 39%, 39%)
HSVhsv(316, 56%, 54%)
CMYKcmyk(0%, 55.8%, 14.5%, 45.9%)
CIE-LABlab(37.93, 40.24, -17.31)
CIE-LCHlch(37.93, 43.80, 336.72°)
OKLaboklab(48.14% 0.1182 -0.0466)
OKLCHoklch(48.14% 0.127 338.5)
XYZxyz(15.4202, 10.0499, 18.2637)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D76 #3D8A51
analogous
#783D8A #8A3D76 #8A3D50
triadic
#8A3D76 #768A3D #3D768A
tetradic
#8A3D76 #8A783D #3D8A51 #3D508A
square
#8A3D76 #8A783D #3D8A51 #3D508A
split-complementary
#8A3D76 #508A3D #3D8A78
monochromatic
#35172D #602A52 #8A3D76 #B25299 #C57CB2

Accessibility & contrast

On white

6.98
#8A3D76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A3D76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D76
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D76#FFFFFF#000000##FFFFFF
##8A3D761.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405278
Deuteranopia (green-blind)
#565E74
Tritanopia (blue-blind)
#913F54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3d76;
/* rgb */ color: rgb(138, 61, 118);
/* oklch */ color: oklch(48.1% 0.127 338.5);
Tailwind
colors: {
  custom: {
    50: '#ae769d',
    500: '#8a3d76',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d76;
$custom-light: #ae769d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d76",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 118
  },
  "hsl": {
    "h": 315.584,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.12701,
    "h": 338.5
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#8A3D76
secondary
#74AF83
accent
#CF7859
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3D76

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

Preview Lab → · Contrast checker → · Palette generator →

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