#8A2789#8A2789

#8A2789 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.175 H 328.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8A2789
RGBrgb(138, 39, 137)
HSLhsl(301, 56%, 35%)
HSVhsv(301, 72%, 54%)
CMYKcmyk(0%, 71.7%, 0.7%, 45.9%)
CIE-LABlab(35.32, 53.24, -33.17)
CIE-LCHlch(35.32, 62.73, 328.08°)
OKLaboklab(46.54% 0.149 -0.0917)
OKLCHoklch(46.54% 0.175 328.4)
XYZxyz(15.7219, 8.6616, 24.5058)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2789 #278A28
analogous
#5A278A #8A2789 #8A2758
triadic
#8A2789 #898A27 #27898A
tetradic
#8A2789 #8A5A27 #278A28 #27588A
square
#8A2789 #8A5A27 #278A28 #27588A
split-complementary
#8A2789 #588A27 #278A5A
monochromatic
#2B0C2A #5A1A5A #8A2789 #BA34B8 #D15BCF

Accessibility & contrast

On white

7.69
#8A2789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8A2789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2789
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2789#FFFFFF#000000##FFFFFF
##8A27891.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8C
Deuteranopia (green-blind)
#425886
Tritanopia (blue-blind)
#8F3555
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2789;
/* rgb */ color: rgb(138, 39, 137);
/* oklch */ color: oklch(46.5% 0.175 328.4);
Tailwind
colors: {
  custom: {
    50: '#af6bac',
    500: '#8a2789',
    950: '#000000',
  },
}
SCSS
$custom: #8a2789;
$custom-light: #af6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2789",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 300.606,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.17496,
    "h": 328.4
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#8A2789
secondary
#57B658
accent
#DF4A49
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2789

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

Preview Lab → · Contrast checker → · Palette generator →

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