#8B2282#8B2282

#8B2282 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.176 H 331.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8B2282
RGBrgb(139, 34, 130)
HSLhsl(305, 61%, 34%)
HSVhsv(305, 76%, 55%)
CMYKcmyk(0%, 75.5%, 6.5%, 45.5%)
CIE-LABlab(34.49, 54.06, -30.14)
CIE-LCHlch(34.49, 61.89, 330.86°)
OKLaboklab(45.85% 0.1549 -0.0829)
OKLCHoklch(45.85% 0.176 331.8)
XYZxyz(15.2488, 8.2460, 21.9033)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2282 #228B2B
analogous
#60228B #8B2282 #8B224E
triadic
#8B2282 #828B22 #22828B
tetradic
#8B2282 #8B6022 #228B2B #224E8B
square
#8B2282 #8B6022 #228B2B #224E8B
split-complementary
#8B2282 #4E8B22 #228B60
monochromatic
#290A26 #5A1654 #8B2282 #BC2EB0 #D553CA

Accessibility & contrast

On white

7.93
#8B2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2282
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2282#FFFFFF#000000##FFFFFF
##8B22821.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4885
Deuteranopia (green-blind)
#44567F
Tritanopia (blue-blind)
#912E50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2282;
/* rgb */ color: rgb(139, 34, 130);
/* oklch */ color: oklch(45.8% 0.176 331.8);
Tailwind
colors: {
  custom: {
    50: '#b069a6',
    500: '#8b2282',
    950: '#000000',
  },
}
SCSS
$custom: #8b2282;
$custom-light: #b069a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2282",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 305.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45849,
    "c": 0.17569,
    "h": 331.8
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#8B2282
secondary
#50B859
accent
#E45244
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2282

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

Preview Lab → · Contrast checker → · Palette generator →

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