#8A2E76#8A2E76

#8A2E76 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.151 H 337.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8A2E76
RGBrgb(138, 46, 118)
HSLhsl(313, 50%, 36%)
HSVhsv(313, 67%, 54%)
CMYKcmyk(0%, 66.7%, 14.5%, 45.9%)
CIE-LABlab(35.33, 47.29, -21.33)
CIE-LCHlch(35.33, 51.88, 335.73°)
OKLaboklab(46.23% 0.1391 -0.0578)
OKLCHoklch(46.23% 0.151 337.4)
XYZxyz(14.7285, 8.6665, 18.0331)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E76 #2E8A42
analogous
#702E8A #8A2E76 #8A2E48
triadic
#8A2E76 #768A2E #2E768A
tetradic
#8A2E76 #8A702E #2E8A42 #2E488A
square
#8A2E76 #8A702E #2E8A42 #2E488A
split-complementary
#8A2E76 #488A2E #2E8A70
monochromatic
#2E0F28 #5C1F4F #8A2E76 #B83D9D #CC66B6

Accessibility & contrast

On white

7.68
#8A2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A2E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E76
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E76#FFFFFF#000000##FFFFFF
##8A2E761.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314A78
Deuteranopia (green-blind)
#4E5874
Tritanopia (blue-blind)
#91324D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2e76;
/* rgb */ color: rgb(138, 46, 118);
/* oklch */ color: oklch(46.2% 0.151 337.4);
Tailwind
colors: {
  custom: {
    50: '#af6e9d',
    500: '#8a2e76',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e76;
$custom-light: #af6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e76",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 313.043,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46228,
    "c": 0.15063,
    "h": 337.4
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#8A2E76
secondary
#61B373
accent
#DA6D4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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