#8B2FB6#8B2FB6

#8B2FB6 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.206 H 312.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8B2FB6
RGBrgb(139, 47, 182)
HSLhsl(281, 59%, 45%)
HSVhsv(281, 74%, 71%)
CMYKcmyk(23.6%, 74.2%, 0%, 28.6%)
CIE-LABlab(39.41, 59.08, -53.76)
CIE-LCHlch(39.41, 79.88, 317.70°)
OKLaboklab(50.4% 0.1389 -0.152)
OKLCHoklch(50.4% 0.206 312.4)
XYZxyz(20.1059, 10.9000, 45.2917)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FB6 #5AB62F
analogous
#482FB6 #8B2FB6 #B62F9D
triadic
#8B2FB6 #B68B2F #2FB68B
tetradic
#8B2FB6 #B6482F #5AB62F #2F9DB6
square
#8B2FB6 #B6482F #5AB62F #2F9DB6
split-complementary
#8B2FB6 #9DB62F #2FB648
monochromatic
#411655 #662285 #8B2FB6 #A950D2 #C181DE

Accessibility & contrast

On white

6.60
#8B2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8B2FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FB6
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FB6#FFFFFF#000000##FFFFFF
##8B2FB61.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#1E5FB3
Tritanopia (blue-blind)
#864E70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2fb6;
/* rgb */ color: rgb(139, 47, 182);
/* oklch */ color: oklch(50.4% 0.206 312.4);
Tailwind
colors: {
  custom: {
    50: '#b171cd',
    500: '#8b2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fb6;
$custom-light: #b171cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fb6",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 280.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.20587,
    "h": 312.4
  },
  "luminance": 0.10899
}

Semantic roles & 50–950 ramp

primary
#8B2FB6
secondary
#92C779
accent
#E24678
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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