#8B2FB1#8B2FB1

#8B2FB1 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.0% C 0.201 H 313.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8B2FB1
RGBrgb(139, 47, 177)
HSLhsl(282, 58%, 44%)
HSVhsv(282, 73%, 69%)
CMYKcmyk(21.5%, 73.4%, 0%, 30.6%)
CIE-LABlab(39.07, 58.04, -51.36)
CIE-LCHlch(39.07, 77.50, 318.49°)
OKLaboklab(50.05% 0.1396 -0.1449)
OKLCHoklch(50.05% 0.201 313.9)
XYZxyz(19.5984, 10.6970, 42.6188)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FB1 #55B12F
analogous
#4A2FB1 #8B2FB1 #B12F96
triadic
#8B2FB1 #B18B2F #2FB18B
tetradic
#8B2FB1 #B14A2F #55B12F #2F96B1
square
#8B2FB1 #B14A2F #55B12F #2F96B1
split-complementary
#8B2FB1 #96B12F #2FB14A
monochromatic
#3F1550 #652281 #8B2FB1 #AA4DD0 #C17EDD

Accessibility & contrast

On white

6.69
#8B2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8B2FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FB1
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FB1#FFFFFF#000000##FFFFFF
##8B2FB11.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#265EAE
Tritanopia (blue-blind)
#874B6E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2fb1;
/* rgb */ color: rgb(139, 47, 177);
/* oklch */ color: oklch(50.0% 0.201 313.9);
Tailwind
colors: {
  custom: {
    50: '#b171c9',
    500: '#8b2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fb1;
$custom-light: #b171c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fb1",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 282.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.20123,
    "h": 313.9
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#8B2FB1
secondary
#8EC576
accent
#E14774
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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