#8A2980#8A2980

#8A2980 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.165 H 332.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8A2980
RGBrgb(138, 41, 128)
HSLhsl(306, 54%, 35%)
HSVhsv(306, 70%, 54%)
CMYKcmyk(0%, 70.3%, 7.2%, 45.9%)
CIE-LABlab(35.10, 50.96, -27.94)
CIE-LCHlch(35.10, 58.12, 331.26°)
OKLaboklab(46.22% 0.1463 -0.0767)
OKLCHoklch(46.22% 0.165 332.3)
XYZxyz(15.1705, 8.5489, 21.2690)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2980 #298A33
analogous
#64298A #8A2980 #8A294F
triadic
#8A2980 #808A29 #29808A
tetradic
#8A2980 #8A6429 #298A33 #294F8A
square
#8A2980 #8A6429 #298A33 #294F8A
split-complementary
#8A2980 #4F8A29 #298A64
monochromatic
#2C0D28 #5B1B54 #8A2980 #B937AC #CF5EC4

Accessibility & contrast

On white

7.75
#8A2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A2980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2980
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2980#FFFFFF#000000##FFFFFF
##8A29801.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A82
Deuteranopia (green-blind)
#47577E
Tritanopia (blue-blind)
#903351
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2980;
/* rgb */ color: rgb(138, 41, 128);
/* oklch */ color: oklch(46.2% 0.165 332.3);
Tailwind
colors: {
  custom: {
    50: '#af6ca5',
    500: '#8a2980',
    950: '#000000',
  },
}
SCSS
$custom: #8a2980;
$custom-light: #af6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2980",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 306.186,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4622,
    "c": 0.16521,
    "h": 332.3
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#8A2980
secondary
#5AB563
accent
#DE594A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2980

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

Preview Lab → · Contrast checker → · Palette generator →

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