#8A2C76#8A2C76

#8A2C76 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.153 H 337.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8A2C76
RGBrgb(138, 44, 118)
HSLhsl(313, 52%, 36%)
HSVhsv(313, 68%, 54%)
CMYKcmyk(0%, 68.1%, 14.5%, 45.9%)
CIE-LABlab(35.03, 48.14, -21.80)
CIE-LCHlch(35.03, 52.84, 335.64°)
OKLaboklab(46.01% 0.1416 -0.0591)
OKLCHoklch(46.01% 0.153 337.3)
XYZxyz(14.6522, 8.5139, 18.0077)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C76 #2C8A40
analogous
#6F2C8A #8A2C76 #8A2C47
triadic
#8A2C76 #768A2C #2C768A
tetradic
#8A2C76 #8A6F2C #2C8A40 #2C478A
square
#8A2C76 #8A6F2C #2C8A40 #2C478A
split-complementary
#8A2C76 #478A2C #2C8A6F
monochromatic
#2D0E27 #5C1D4E #8A2C76 #B83B9E #CD63B7

Accessibility & contrast

On white

7.77
#8A2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C76
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C76#FFFFFF#000000##FFFFFF
##8A2C761.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2c76;
/* rgb */ color: rgb(138, 44, 118);
/* oklch */ color: oklch(46.0% 0.153 337.3);
Tailwind
colors: {
  custom: {
    50: '#af6d9d',
    500: '#8a2c76',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c76;
$custom-light: #af6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c76",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 312.766,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46007,
    "c": 0.15344,
    "h": 337.3
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#8A2C76
secondary
#5EB470
accent
#DB6B4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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