#8A2989#8A2989

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

Color values

HEX#8A2989
RGBrgb(138, 41, 137)
HSLhsl(301, 54%, 35%)
HSVhsv(301, 70%, 54%)
CMYKcmyk(0%, 70.3%, 0.7%, 45.9%)
CIE-LABlab(35.59, 52.49, -32.75)
CIE-LCHlch(35.59, 61.87, 328.04°)
OKLaboklab(46.73% 0.1468 -0.0905)
OKLCHoklch(46.73% 0.173 328.3)
XYZxyz(15.7893, 8.7964, 24.5283)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2989 #298A2A
analogous
#5B298A #8A2989 #8A2958
triadic
#8A2989 #898A29 #29898A
tetradic
#8A2989 #8A5B29 #298A2A #29588A
square
#8A2989 #8A5B29 #298A2A #29588A
split-complementary
#8A2989 #588A29 #298A5B
monochromatic
#2C0D2B #5B1B5A #8A2989 #B937B8 #CF5ECE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2989#FFFFFF#000000##FFFFFF
##8A29891.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)
#1B4C8C
Deuteranopia (green-blind)
#435886
Tritanopia (blue-blind)
#8F3756
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a2989;
/* rgb */ color: rgb(138, 41, 137);
/* oklch */ color: oklch(46.7% 0.173 328.3);
Tailwind
colors: {
  custom: {
    50: '#af6cac',
    500: '#8a2989',
    950: '#000000',
  },
}
SCSS
$custom: #8a2989;
$custom-light: #af6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2989",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 300.619,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.17251,
    "h": 328.3
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#8A2989
secondary
#5AB55B
accent
#DE4C4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8A2989

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

Preview Lab → · Contrast checker → · Palette generator →

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