#8A2B89#8A2B89

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

Color values

HEX#8A2B89
RGBrgb(138, 43, 137)
HSLhsl(301, 52%, 35%)
HSVhsv(301, 69%, 54%)
CMYKcmyk(0%, 68.8%, 0.7%, 45.9%)
CIE-LABlab(35.87, 51.71, -32.31)
CIE-LCHlch(35.87, 60.98, 328.00°)
OKLaboklab(46.93% 0.1446 -0.0893)
OKLCHoklch(46.93% 0.17 328.3)
XYZxyz(15.8603, 8.9383, 24.5520)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B89 #2B8A2C
analogous
#5C2B8A #8A2B89 #8A2B59
triadic
#8A2B89 #898A2B #2B898A
tetradic
#8A2B89 #8A5C2B #2B8A2C #2B598A
square
#8A2B89 #8A5C2B #2B8A2C #2B598A
split-complementary
#8A2B89 #598A2B #2B8A5C
monochromatic
#2D0E2C #5B1C5B #8A2B89 #B93AB7 #CE61CD

Accessibility & contrast

On white

7.53
#8A2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8A2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B89
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B89#FFFFFF#000000##FFFFFF
##8A2B891.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8C
Deuteranopia (green-blind)
#445987
Tritanopia (blue-blind)
#8E3856
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2b89;
/* rgb */ color: rgb(138, 43, 137);
/* oklch */ color: oklch(46.9% 0.170 328.3);
Tailwind
colors: {
  custom: {
    50: '#af6dac',
    500: '#8a2b89',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b89;
$custom-light: #af6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b89",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 300.632,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4693,
    "c": 0.16998,
    "h": 328.3
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#8A2B89
secondary
#5DB45E
accent
#DC4D4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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