#8A2B84#8A2B84

#8A2B84 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.166 H 330.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8A2B84
RGBrgb(138, 43, 132)
HSLhsl(304, 52%, 35%)
HSVhsv(304, 69%, 54%)
CMYKcmyk(0%, 68.8%, 4.3%, 45.9%)
CIE-LABlab(35.59, 50.85, -29.65)
CIE-LCHlch(35.59, 58.86, 329.75°)
OKLaboklab(46.65% 0.1444 -0.0816)
OKLCHoklch(46.65% 0.166 330.5)
XYZxyz(15.5099, 8.7981, 22.7066)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B84 #2B8A31
analogous
#602B8A #8A2B84 #8A2B55
triadic
#8A2B84 #848A2B #2B848A
tetradic
#8A2B84 #8A602B #2B8A31 #2B558A
square
#8A2B84 #8A602B #2B8A31 #2B558A
split-complementary
#8A2B84 #558A2B #2B8A60
monochromatic
#2D0E2B #5B1C57 #8A2B84 #B93AB1 #CE61C7

Accessibility & contrast

On white

7.61
#8A2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B84
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B84#FFFFFF#000000##FFFFFF
##8A2B841.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234B87
Deuteranopia (green-blind)
#465882
Tritanopia (blue-blind)
#8F3654
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2b84;
/* rgb */ color: rgb(138, 43, 132);
/* oklch */ color: oklch(46.6% 0.166 330.5);
Tailwind
colors: {
  custom: {
    50: '#af6da8',
    500: '#8a2b84',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b84;
$custom-light: #af6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b84",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 303.789,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46645,
    "c": 0.16583,
    "h": 330.5
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#8A2B84
secondary
#5DB462
accent
#DC554C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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