#8A3E77#8A3E77

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

Color values

HEX#8A3E77
RGBrgb(138, 62, 119)
HSLhsl(315, 38%, 39%)
HSVhsv(315, 55%, 54%)
CMYKcmyk(0%, 55.1%, 13.8%, 45.9%)
CIE-LABlab(38.17, 39.89, -17.57)
CIE-LCHlch(38.17, 43.59, 336.22°)
OKLaboklab(48.33% 0.1169 -0.0474)
OKLCHoklch(48.33% 0.126 337.9)
XYZxyz(15.5338, 10.1816, 18.5963)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3E77 #3E8A51
analogous
#773E8A #8A3E77 #8A3E51
triadic
#8A3E77 #778A3E #3E778A
tetradic
#8A3E77 #8A773E #3E8A51 #3E518A
square
#8A3E77 #8A773E #3E8A51 #3E518A
split-complementary
#8A3E77 #518A3E #3E8A77
monochromatic
#36182E #602B53 #8A3E77 #B2539A #C57EB3

Accessibility & contrast

On white

6.92
#8A3E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3E77
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3E77#FFFFFF#000000##FFFFFF
##8A3E771.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405279
Deuteranopia (green-blind)
#565E75
Tritanopia (blue-blind)
#914155
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3e77;
/* rgb */ color: rgb(138, 62, 119);
/* oklch */ color: oklch(48.3% 0.126 337.9);
Tailwind
colors: {
  custom: {
    50: '#ae779e',
    500: '#8a3e77',
    950: '#000000',
  },
}
SCSS
$custom: #8a3e77;
$custom-light: #ae779e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3e77",
  "rgb": {
    "r": 138,
    "g": 62,
    "b": 119
  },
  "hsl": {
    "h": 315,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.12611,
    "h": 337.9
  },
  "luminance": 0.1018
}

Semantic roles & 50–950 ramp

primary
#8A3E77
secondary
#75AF83
accent
#CE775A
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A3E77

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

Preview Lab → · Contrast checker → · Palette generator →

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