#8B2180#8B2180

#8B2180 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.175 H 332.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8B2180
RGBrgb(139, 33, 128)
HSLhsl(306, 62%, 34%)
HSVhsv(306, 76%, 55%)
CMYKcmyk(0%, 76.3%, 7.9%, 45.5%)
CIE-LABlab(34.27, 54.07, -29.24)
CIE-LCHlch(34.27, 61.47, 331.59°)
OKLaboklab(45.65% 0.1558 -0.0803)
OKLCHoklch(45.65% 0.175 332.7)
XYZxyz(15.0877, 8.1365, 21.1938)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2180 #218B2C
analogous
#61218B #8B2180 #8B214B
triadic
#8B2180 #808B21 #21808B
tetradic
#8B2180 #8B6121 #218B2C #214B8B
square
#8B2180 #8B6121 #218B2C #214B8B
split-complementary
#8B2180 #4B8B21 #218B61
monochromatic
#280A25 #5A1552 #8B2180 #BC2DAE #D651C8

Accessibility & contrast

On white

7.99
#8B2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2180
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2180#FFFFFF#000000##FFFFFF
##8B21801.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4783
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#912D4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2180;
/* rgb */ color: rgb(139, 33, 128);
/* oklch */ color: oklch(45.7% 0.175 332.7);
Tailwind
colors: {
  custom: {
    50: '#b068a5',
    500: '#8b2180',
    950: '#000000',
  },
}
SCSS
$custom: #8b2180;
$custom-light: #b068a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2180",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 306.226,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.17525,
    "h": 332.7
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#8B2180
secondary
#4FB95A
accent
#E55443
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2180

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

Preview Lab → · Contrast checker → · Palette generator →

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