#8B2980#8B2980

#8B2980 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.166 H 332.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8B2980
RGBrgb(139, 41, 128)
HSLhsl(307, 54%, 35%)
HSVhsv(307, 71%, 55%)
CMYKcmyk(0%, 70.5%, 7.9%, 45.5%)
CIE-LABlab(35.27, 51.21, -27.66)
CIE-LCHlch(35.27, 58.20, 331.63°)
OKLaboklab(46.38% 0.1474 -0.0758)
OKLCHoklch(46.38% 0.166 332.8)
XYZxyz(15.3367, 8.6346, 21.2768)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2980 #298B34
analogous
#65298B #8B2980 #8B294F
triadic
#8B2980 #808B29 #29808B
tetradic
#8B2980 #8B6529 #298B34 #294F8B
square
#8B2980 #8B6529 #298B34 #294F8B
split-complementary
#8B2980 #4F8B29 #298B65
monochromatic
#2C0D29 #5C1B54 #8B2980 #BA37AC #D05FC3

Accessibility & contrast

On white

7.70
#8B2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2980
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2980#FFFFFF#000000##FFFFFF
##8B29801.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#48587E
Tritanopia (blue-blind)
#913251
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2980;
/* rgb */ color: rgb(139, 41, 128);
/* oklch */ color: oklch(46.4% 0.166 332.8);
Tailwind
colors: {
  custom: {
    50: '#b06ca5',
    500: '#8b2980',
    950: '#000000',
  },
}
SCSS
$custom: #8b2980;
$custom-light: #b06ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2980",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 306.735,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.1658,
    "h": 332.8
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#8B2980
secondary
#5BB565
accent
#DE5B4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2980

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

Preview Lab → · Contrast checker → · Palette generator →

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