#8B2F83#8B2F83

#8B2F83 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.2% C 0.160 H 331.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8B2F83
RGBrgb(139, 47, 131)
HSLhsl(305, 49%, 36%)
HSVhsv(305, 66%, 55%)
CMYKcmyk(0%, 66.2%, 5.8%, 45.5%)
CIE-LABlab(36.29, 49.29, -27.92)
CIE-LCHlch(36.29, 56.64, 330.47°)
OKLaboklab(47.17% 0.1407 -0.0766)
OKLCHoklch(47.17% 0.16 331.4)
XYZxyz(15.7607, 9.1619, 22.4066)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F83 #2F8B37
analogous
#652F8B #8B2F83 #8B2F55
triadic
#8B2F83 #838B2F #2F838B
tetradic
#8B2F83 #8B652F #2F8B37 #2F558B
square
#8B2F83 #8B652F #2F8B37 #2F558B
split-complementary
#8B2F83 #558B2F #2F8B65
monochromatic
#30102D #5D2058 #8B2F83 #B93EAE #CC68C3

Accessibility & contrast

On white

7.41
#8B2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2F83
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F83#FFFFFF#000000##FFFFFF
##8B2F831.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#4A5A81
Tritanopia (blue-blind)
#913855
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2f83;
/* rgb */ color: rgb(139, 47, 131);
/* oklch */ color: oklch(47.2% 0.160 331.4);
Tailwind
colors: {
  custom: {
    50: '#b06fa7',
    500: '#8b2f83',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f83;
$custom-light: #b06fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f83",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 305.217,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47168,
    "c": 0.16017,
    "h": 331.4
  },
  "luminance": 0.09161
}

Semantic roles & 50–950 ramp

primary
#8B2F83
secondary
#63B36A
accent
#D95B4F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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