#8A2B80#8A2B80

#8A2B80 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 332.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8A2B80
RGBrgb(138, 43, 128)
HSLhsl(306, 52%, 35%)
HSVhsv(306, 69%, 54%)
CMYKcmyk(0%, 68.8%, 7.2%, 45.9%)
CIE-LABlab(35.38, 50.17, -27.50)
CIE-LCHlch(35.38, 57.21, 331.27°)
OKLaboklab(46.42% 0.144 -0.0754)
OKLCHoklch(46.42% 0.163 332.4)
XYZxyz(15.2414, 8.6907, 21.2926)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B80 #2B8A35
analogous
#642B8A #8A2B80 #8A2B50
triadic
#8A2B80 #808A2B #2B808A
tetradic
#8A2B80 #8A642B #2B8A35 #2B508A
square
#8A2B80 #8A642B #2B8A35 #2B508A
split-complementary
#8A2B80 #508A2B #2B8A64
monochromatic
#2D0E29 #5B1C55 #8A2B80 #B93AAB #CE61C3

Accessibility & contrast

On white

7.67
#8A2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8A2B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B80
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B80#FFFFFF#000000##FFFFFF
##8A2B801.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B82
Deuteranopia (green-blind)
#48587E
Tritanopia (blue-blind)
#903452
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2b80;
/* rgb */ color: rgb(138, 43, 128);
/* oklch */ color: oklch(46.4% 0.163 332.4);
Tailwind
colors: {
  custom: {
    50: '#af6da5',
    500: '#8a2b80',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b80;
$custom-light: #af6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b80",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 306.316,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46424,
    "c": 0.16259,
    "h": 332.4
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#8A2B80
secondary
#5DB466
accent
#DC5B4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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