#8A2B88#8A2B88

#8A2B88 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.169 H 328.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8A2B88
RGBrgb(138, 43, 136)
HSLhsl(301, 52%, 35%)
HSVhsv(301, 69%, 54%)
CMYKcmyk(0%, 68.8%, 1.4%, 45.9%)
CIE-LABlab(35.81, 51.54, -31.78)
CIE-LCHlch(35.81, 60.55, 328.34°)
OKLaboklab(46.87% 0.1446 -0.0878)
OKLCHoklch(46.87% 0.169 328.7)
XYZxyz(15.7889, 8.9097, 24.1759)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B88 #2B8A2D
analogous
#5C2B8A #8A2B88 #8A2B58
triadic
#8A2B88 #888A2B #2B888A
tetradic
#8A2B88 #8A5C2B #2B8A2D #2B588A
square
#8A2B88 #8A5C2B #2B8A2D #2B588A
split-complementary
#8A2B88 #588A2B #2B8A5C
monochromatic
#2D0E2C #5B1C5A #8A2B88 #B93AB6 #CE61CC

Accessibility & contrast

On white

7.55
#8A2B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8A2B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B88
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B88#FFFFFF#000000##FFFFFF
##8A2B881.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8B
Deuteranopia (green-blind)
#445986
Tritanopia (blue-blind)
#8F3856
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2b88;
/* rgb */ color: rgb(138, 43, 136);
/* oklch */ color: oklch(46.9% 0.169 328.7);
Tailwind
colors: {
  custom: {
    50: '#af6dab',
    500: '#8a2b88',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b88;
$custom-light: #af6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b88",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 301.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46872,
    "c": 0.16914,
    "h": 328.7
  },
  "luminance": 0.08909
}

Semantic roles & 50–950 ramp

primary
#8A2B88
secondary
#5DB45F
accent
#DC4F4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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