#8B2280#8B2280

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

Color values

HEX#8B2280
RGBrgb(139, 34, 128)
HSLhsl(306, 61%, 34%)
HSVhsv(306, 76%, 55%)
CMYKcmyk(0%, 75.5%, 7.9%, 45.5%)
CIE-LABlab(34.38, 53.73, -29.06)
CIE-LCHlch(34.38, 61.09, 331.59°)
OKLaboklab(45.74% 0.1548 -0.0798)
OKLCHoklch(45.74% 0.174 332.7)
XYZxyz(15.1158, 8.1928, 21.2031)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2280 #228B2D
analogous
#62228B #8B2280 #8B224C
triadic
#8B2280 #808B22 #22808B
tetradic
#8B2280 #8B6222 #228B2D #224C8B
square
#8B2280 #8B6222 #228B2D #224C8B
split-complementary
#8B2280 #4C8B22 #228B62
monochromatic
#290A25 #5A1653 #8B2280 #BC2EAD #D553C7

Accessibility & contrast

On white

7.96
#8B2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8B2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2280
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2280#FFFFFF#000000##FFFFFF
##8B22801.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2280;
/* rgb */ color: rgb(139, 34, 128);
/* oklch */ color: oklch(45.7% 0.174 332.7);
Tailwind
colors: {
  custom: {
    50: '#b069a5',
    500: '#8b2280',
    950: '#000000',
  },
}
SCSS
$custom: #8b2280;
$custom-light: #b069a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2280",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 306.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45735,
    "c": 0.17417,
    "h": 332.7
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#8B2280
secondary
#50B85B
accent
#E45544
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2280

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

Preview Lab → · Contrast checker → · Palette generator →

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