#8B2082#8B2082

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

Color values

HEX#8B2082
RGBrgb(139, 32, 130)
HSLhsl(305, 63%, 34%)
HSVhsv(305, 77%, 55%)
CMYKcmyk(0%, 77%, 6.5%, 45.5%)
CIE-LABlab(34.26, 54.71, -30.49)
CIE-LCHlch(34.26, 62.63, 330.86°)
OKLaboklab(45.68% 0.1568 -0.0839)
OKLCHoklch(45.68% 0.178 331.8)
XYZxyz(15.1933, 8.1350, 21.8848)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2082 #208B29
analogous
#5E208B #8B2082 #8B204C
triadic
#8B2082 #828B20 #20828B
tetradic
#8B2082 #8B5E20 #208B29 #204C8B
square
#8B2082 #8B5E20 #208B29 #204C8B
split-complementary
#8B2082 #4C8B20 #208B5E
monochromatic
#280925 #591553 #8B2082 #BD2BB1 #D64FCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2082#FFFFFF#000000##FFFFFF
##8B20821.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)
#174785
Deuteranopia (green-blind)
#43567F
Tritanopia (blue-blind)
#912D4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2082;
/* rgb */ color: rgb(139, 32, 130);
/* oklch */ color: oklch(45.7% 0.178 331.8);
Tailwind
colors: {
  custom: {
    50: '#b068a7',
    500: '#8b2082',
    950: '#000000',
  },
}
SCSS
$custom: #8b2082;
$custom-light: #b068a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2082",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 305.047,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.17784,
    "h": 331.8
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#8B2082
secondary
#4DBA56
accent
#E65042
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B2082

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

Preview Lab → · Contrast checker → · Palette generator →

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