#8A2984#8A2984

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

Color values

HEX#8A2984
RGBrgb(138, 41, 132)
HSLhsl(304, 54%, 35%)
HSVhsv(304, 70%, 54%)
CMYKcmyk(0%, 70.3%, 4.3%, 45.9%)
CIE-LABlab(35.31, 51.63, -30.09)
CIE-LCHlch(35.31, 59.76, 329.77°)
OKLaboklab(46.44% 0.1466 -0.0829)
OKLCHoklch(46.44% 0.168 330.5)
XYZxyz(15.4390, 8.6563, 22.6830)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2984 #298A2F
analogous
#5F298A #8A2984 #8A2954
triadic
#8A2984 #848A29 #29848A
tetradic
#8A2984 #8A5F29 #298A2F #29548A
square
#8A2984 #8A5F29 #298A2F #29548A
split-complementary
#8A2984 #548A29 #298A5F
monochromatic
#2C0D2A #5B1B57 #8A2984 #B937B1 #CF5EC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2984#FFFFFF#000000##FFFFFF
##8A29841.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)
#204B87
Deuteranopia (green-blind)
#455882
Tritanopia (blue-blind)
#8F3453
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2984;
/* rgb */ color: rgb(138, 41, 132);
/* oklch */ color: oklch(46.4% 0.168 330.5);
Tailwind
colors: {
  custom: {
    50: '#af6ca8',
    500: '#8a2984',
    950: '#000000',
  },
}
SCSS
$custom: #8a2984;
$custom-light: #af6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2984",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 303.711,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.16841,
    "h": 330.5
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#8A2984
secondary
#5AB560
accent
#DE534A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2984

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

Preview Lab → · Contrast checker → · Palette generator →

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