#8A2A80#8A2A80

#8A2A80 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.164 H 332.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8A2A80
RGBrgb(138, 42, 128)
HSLhsl(306, 53%, 35%)
HSVhsv(306, 70%, 54%)
CMYKcmyk(0%, 69.6%, 7.2%, 45.9%)
CIE-LABlab(35.24, 50.57, -27.72)
CIE-LCHlch(35.24, 57.67, 331.27°)
OKLaboklab(46.32% 0.1452 -0.076)
OKLCHoklch(46.32% 0.164 332.4)
XYZxyz(15.2055, 8.6189, 21.2807)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A80 #2A8A34
analogous
#642A8A #8A2A80 #8A2A50
triadic
#8A2A80 #808A2A #2A808A
tetradic
#8A2A80 #8A642A #2A8A34 #2A508A
square
#8A2A80 #8A642A #2A8A34 #2A508A
split-complementary
#8A2A80 #508A2A #2A8A64
monochromatic
#2C0D29 #5B1C54 #8A2A80 #B938AC #CF60C3

Accessibility & contrast

On white

7.71
#8A2A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A2A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A80
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A80#FFFFFF#000000##FFFFFF
##8A2A801.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#48587E
Tritanopia (blue-blind)
#903351
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2a80;
/* rgb */ color: rgb(138, 42, 128);
/* oklch */ color: oklch(46.3% 0.164 332.4);
Tailwind
colors: {
  custom: {
    50: '#af6ca5',
    500: '#8a2a80',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a80;
$custom-light: #af6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a80",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 306.25,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.16391,
    "h": 332.4
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#8A2A80
secondary
#5BB465
accent
#DD5A4B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2A80

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

Preview Lab → · Contrast checker → · Palette generator →

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