#8A2B7A#8A2B7A

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

Color values

HEX#8A2B7A
RGBrgb(138, 43, 122)
HSLhsl(310, 52%, 35%)
HSVhsv(310, 69%, 54%)
CMYKcmyk(0%, 68.8%, 11.6%, 45.9%)
CIE-LABlab(35.08, 49.18, -24.23)
CIE-LCHlch(35.08, 54.83, 333.77°)
OKLaboklab(46.1% 0.1434 -0.066)
OKLCHoklch(46.1% 0.158 335.3)
XYZxyz(14.8581, 8.5374, 19.2739)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B7A #2B8A3B
analogous
#6A2B8A #8A2B7A #8A2B4B
triadic
#8A2B7A #7A8A2B #2B7A8A
tetradic
#8A2B7A #8A6A2B #2B8A3B #2B4B8A
square
#8A2B7A #8A6A2B #2B8A3B #2B4B8A
split-complementary
#8A2B7A #4B8A2B #2B8A6A
monochromatic
#2D0E27 #5B1C51 #8A2B7A #B93AA3 #CE61BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2B7A#FFFFFF#000000##FFFFFF
##8A2B7A1.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)
#2B497C
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#91314E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2b7a;
/* rgb */ color: rgb(138, 43, 122);
/* oklch */ color: oklch(46.1% 0.158 335.3);
Tailwind
colors: {
  custom: {
    50: '#af6ca0',
    500: '#8a2b7a',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b7a;
$custom-light: #af6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b7a",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 310.105,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46104,
    "c": 0.15787,
    "h": 335.3
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#8A2B7A
secondary
#5DB46C
accent
#DC644C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8A2B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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