#8A2C77#8A2C77

#8A2C77 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.154 H 336.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8A2C77
RGBrgb(138, 44, 119)
HSLhsl(312, 52%, 36%)
HSVhsv(312, 68%, 54%)
CMYKcmyk(0%, 68.1%, 13.8%, 45.9%)
CIE-LABlab(35.08, 48.29, -22.35)
CIE-LCHlch(35.08, 53.21, 335.17°)
OKLaboklab(46.06% 0.1418 -0.0607)
OKLCHoklch(46.06% 0.154 336.8)
XYZxyz(14.7119, 8.5378, 18.3223)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C77 #2C8A3F
analogous
#6E2C8A #8A2C77 #8A2C48
triadic
#8A2C77 #778A2C #2C778A
tetradic
#8A2C77 #8A6E2C #2C8A3F #2C488A
square
#8A2C77 #8A6E2C #2C8A3F #2C488A
split-complementary
#8A2C77 #488A2C #2C8A6E
monochromatic
#2D0E27 #5C1D4F #8A2C77 #B83B9F #CD63B8

Accessibility & contrast

On white

7.76
#8A2C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A2C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C77
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C77#FFFFFF#000000##FFFFFF
##8A2C771.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4979
Deuteranopia (green-blind)
#4C5875
Tritanopia (blue-blind)
#91314D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2c77;
/* rgb */ color: rgb(138, 44, 119);
/* oklch */ color: oklch(46.1% 0.154 336.8);
Tailwind
colors: {
  custom: {
    50: '#af6d9e',
    500: '#8a2c77',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c77;
$custom-light: #af6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c77",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 312.128,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46057,
    "c": 0.1542,
    "h": 336.8
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#8A2C77
secondary
#5EB46F
accent
#DB694D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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