#8B2E83#8B2E83

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

Color values

HEX#8B2E83
RGBrgb(139, 46, 131)
HSLhsl(305, 50%, 36%)
HSVhsv(305, 67%, 55%)
CMYKcmyk(0%, 66.9%, 5.8%, 45.5%)
CIE-LABlab(36.14, 49.71, -28.15)
CIE-LCHlch(36.14, 57.13, 330.47°)
OKLaboklab(47.06% 0.1419 -0.0773)
OKLCHoklch(47.06% 0.162 331.4)
XYZxyz(15.7212, 9.0828, 22.3935)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E83 #2E8B36
analogous
#652E8B #8B2E83 #8B2E55
triadic
#8B2E83 #838B2E #2E838B
tetradic
#8B2E83 #8B652E #2E8B36 #2E558B
square
#8B2E83 #8B652E #2E8B36 #2E558B
split-complementary
#8B2E83 #558B2E #2E8B65
monochromatic
#2F102C #5D1F58 #8B2E83 #B93DAE #CD67C4

Accessibility & contrast

On white

7.46
#8B2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2E83
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E83#FFFFFF#000000##FFFFFF
##8B2E831.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D85
Deuteranopia (green-blind)
#495A81
Tritanopia (blue-blind)
#913754
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2e83;
/* rgb */ color: rgb(139, 46, 131);
/* oklch */ color: oklch(47.1% 0.162 331.4);
Tailwind
colors: {
  custom: {
    50: '#b06ea7',
    500: '#8b2e83',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e83;
$custom-light: #b06ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e83",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 305.161,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47059,
    "c": 0.16157,
    "h": 331.4
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#8B2E83
secondary
#61B368
accent
#DA5A4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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