#8B2F81#8B2F81

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

Color values

HEX#8B2F81
RGBrgb(139, 47, 129)
HSLhsl(307, 49%, 36%)
HSVhsv(307, 66%, 55%)
CMYKcmyk(0%, 66.2%, 7.2%, 45.5%)
CIE-LABlab(36.19, 48.95, -26.84)
CIE-LCHlch(36.19, 55.82, 331.26°)
OKLaboklab(47.06% 0.1405 -0.0735)
OKLCHoklch(47.06% 0.159 332.4)
XYZxyz(15.6264, 9.1082, 21.6996)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F81 #2F8B39
analogous
#672F8B #8B2F81 #8B2F53
triadic
#8B2F81 #818B2F #2F818B
tetradic
#8B2F81 #8B672F #2F8B39 #2F538B
square
#8B2F81 #8B672F #2F8B39 #2F538B
split-complementary
#8B2F81 #538B2F #2F8B67
monochromatic
#30102C #5D2057 #8B2F81 #B93EAB #CC68C1

Accessibility & contrast

On white

7.44
#8B2F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8B2F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F81
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F81#FFFFFF#000000##FFFFFF
##8B2F811.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D83
Deuteranopia (green-blind)
#4A5A7F
Tritanopia (blue-blind)
#913754
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2f81;
/* rgb */ color: rgb(139, 47, 129);
/* oklch */ color: oklch(47.1% 0.159 332.4);
Tailwind
colors: {
  custom: {
    50: '#b06fa6',
    500: '#8b2f81',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f81;
$custom-light: #b06fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f81",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 306.522,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4706,
    "c": 0.15854,
    "h": 332.4
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B2F81

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

Preview Lab → · Contrast checker → · Palette generator →

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