#8B2FB5#8B2FB5

#8B2FB5 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.3% C 0.205 H 312.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8B2FB5
RGBrgb(139, 47, 181)
HSLhsl(281, 59%, 45%)
HSVhsv(281, 74%, 71%)
CMYKcmyk(23.2%, 74%, 0%, 29%)
CIE-LABlab(39.34, 58.87, -53.28)
CIE-LCHlch(39.34, 79.40, 317.85°)
OKLaboklab(50.33% 0.139 -0.1506)
OKLCHoklch(50.33% 0.205 312.7)
XYZxyz(20.0030, 10.8588, 44.7494)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FB5 #59B52F
analogous
#482FB5 #8B2FB5 #B52F9C
triadic
#8B2FB5 #B58B2F #2FB58B
tetradic
#8B2FB5 #B5482F #59B52F #2F9CB5
square
#8B2FB5 #B5482F #59B52F #2F9CB5
split-complementary
#8B2FB5 #9CB52F #2FB548
monochromatic
#401654 #662284 #8B2FB5 #A950D1 #C180DE

Accessibility & contrast

On white

6.62
#8B2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8B2FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FB5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FB5#FFFFFF#000000##FFFFFF
##8B2FB51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#1F5FB2
Tritanopia (blue-blind)
#864D70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2fb5;
/* rgb */ color: rgb(139, 47, 181);
/* oklch */ color: oklch(50.3% 0.205 312.7);
Tailwind
colors: {
  custom: {
    50: '#b171cc',
    500: '#8b2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fb5;
$custom-light: #b171cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fb5",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 281.194,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.20494,
    "h": 312.7
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#8B2FB5
secondary
#91C779
accent
#E24677
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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