#8B2F82#8B2F82

#8B2F82 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.159 H 331.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8B2F82
RGBrgb(139, 47, 130)
HSLhsl(306, 49%, 36%)
HSVhsv(306, 66%, 55%)
CMYKcmyk(0%, 66.2%, 6.5%, 45.5%)
CIE-LABlab(36.24, 49.12, -27.38)
CIE-LCHlch(36.24, 56.23, 330.87°)
OKLaboklab(47.11% 0.1406 -0.0751)
OKLCHoklch(47.11% 0.159 331.9)
XYZxyz(15.6932, 9.1349, 22.0514)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F82 #2F8B38
analogous
#662F8B #8B2F82 #8B2F54
triadic
#8B2F82 #828B2F #2F828B
tetradic
#8B2F82 #8B662F #2F8B38 #2F548B
square
#8B2F82 #8B662F #2F8B38 #2F548B
split-complementary
#8B2F82 #548B2F #2F8B66
monochromatic
#30102C #5D2057 #8B2F82 #B93EAD #CC68C2

Accessibility & contrast

On white

7.43
#8B2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8B2F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F82
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F82#FFFFFF#000000##FFFFFF
##8B2F821.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#4A5A80
Tritanopia (blue-blind)
#913854
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2f82;
/* rgb */ color: rgb(139, 47, 130);
/* oklch */ color: oklch(47.1% 0.159 331.9);
Tailwind
colors: {
  custom: {
    50: '#b06fa6',
    500: '#8b2f82',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f82;
$custom-light: #b06fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f82",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 305.87,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47114,
    "c": 0.15935,
    "h": 331.9
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#8B2F82
secondary
#63B36B
accent
#D95C4F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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