#8A2A89#8A2A89

#8A2A89 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.8% C 0.171 H 328.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8A2A89
RGBrgb(138, 42, 137)
HSLhsl(301, 53%, 35%)
HSVhsv(301, 70%, 54%)
CMYKcmyk(0%, 69.6%, 0.7%, 45.9%)
CIE-LABlab(35.73, 52.11, -32.53)
CIE-LCHlch(35.73, 61.43, 328.02°)
OKLaboklab(46.83% 0.1458 -0.0899)
OKLCHoklch(46.83% 0.171 328.3)
XYZxyz(15.8244, 8.8665, 24.5400)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A89 #2A8A2B
analogous
#5B2A8A #8A2A89 #8A2A59
triadic
#8A2A89 #898A2A #2A898A
tetradic
#8A2A89 #8A5B2A #2A8A2B #2A598A
square
#8A2A89 #8A5B2A #2A8A2B #2A598A
split-complementary
#8A2A89 #598A2A #2A8A5B
monochromatic
#2C0D2C #5B1C5A #8A2A89 #B938B8 #CF60CD

Accessibility & contrast

On white

7.57
#8A2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8A2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A89
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A89#FFFFFF#000000##FFFFFF
##8A2A891.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8C
Deuteranopia (green-blind)
#435887
Tritanopia (blue-blind)
#8F3756
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2a89;
/* rgb */ color: rgb(138, 42, 137);
/* oklch */ color: oklch(46.8% 0.171 328.3);
Tailwind
colors: {
  custom: {
    50: '#af6cac',
    500: '#8a2a89',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a89;
$custom-light: #af6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a89",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 300.625,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46829,
    "c": 0.17126,
    "h": 328.3
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#8A2A89
secondary
#5BB45C
accent
#DD4D4B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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