#8A3D77#8A3D77

#8A3D77 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.2% C 0.128 H 337.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8A3D77
RGBrgb(138, 61, 119)
HSLhsl(315, 39%, 39%)
HSVhsv(315, 56%, 54%)
CMYKcmyk(0%, 55.8%, 13.8%, 45.9%)
CIE-LABlab(37.97, 40.40, -17.87)
CIE-LCHlch(37.97, 44.18, 336.14°)
OKLaboklab(48.18% 0.1184 -0.0482)
OKLCHoklch(48.18% 0.128 337.9)
XYZxyz(15.4799, 10.0738, 18.5783)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D77 #3D8A50
analogous
#773D8A #8A3D77 #8A3D51
triadic
#8A3D77 #778A3D #3D778A
tetradic
#8A3D77 #8A773D #3D8A50 #3D518A
square
#8A3D77 #8A773D #3D8A50 #3D518A
split-complementary
#8A3D77 #518A3D #3D8A77
monochromatic
#35172E #602A52 #8A3D77 #B2529B #C57CB3

Accessibility & contrast

On white

6.97
#8A3D77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3D77
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D77#FFFFFF#000000##FFFFFF
##8A3D771.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5279
Deuteranopia (green-blind)
#555E75
Tritanopia (blue-blind)
#914054
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a3d77;
/* rgb */ color: rgb(138, 61, 119);
/* oklch */ color: oklch(48.2% 0.128 337.9);
Tailwind
colors: {
  custom: {
    50: '#ae769e',
    500: '#8a3d77',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d77;
$custom-light: #ae769e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d77",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 119
  },
  "hsl": {
    "h": 314.805,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48184,
    "c": 0.12781,
    "h": 337.9
  },
  "luminance": 0.10073
}

Semantic roles & 50–950 ramp

primary
#8A3D77
secondary
#74AF82
accent
#CF7659
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3D77

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

Preview Lab → · Contrast checker → · Palette generator →

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