#8B2FB8#8B2FB8

#8B2FB8 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.208 H 311.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8B2FB8
RGBrgb(139, 47, 184)
HSLhsl(280, 59%, 45%)
HSVhsv(280, 74%, 72%)
CMYKcmyk(24.5%, 74.5%, 0%, 27.8%)
CIE-LABlab(39.55, 59.49, -54.71)
CIE-LCHlch(39.55, 80.83, 317.40°)
OKLaboklab(50.55% 0.1386 -0.1548)
OKLCHoklch(50.55% 0.208 311.8)
XYZxyz(20.3141, 10.9832, 46.3880)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FB8 #5CB82F
analogous
#472FB8 #8B2FB8 #B82FA0
triadic
#8B2FB8 #B88B2F #2FB88B
tetradic
#8B2FB8 #B8472F #5CB82F #2FA0B8
square
#8B2FB8 #B8472F #5CB82F #2FA0B8
split-complementary
#8B2FB8 #A0B82F #2FB847
monochromatic
#411657 #662387 #8B2FB8 #A852D3 #C182DF

Accessibility & contrast

On white

6.57
#8B2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8B2FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FB8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FB8#FFFFFF#000000##FFFFFF
##8B2FB81.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#1A5FB5
Tritanopia (blue-blind)
#854E71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8b2fb8;
/* rgb */ color: rgb(139, 47, 184);
/* oklch */ color: oklch(50.5% 0.208 311.8);
Tailwind
colors: {
  custom: {
    50: '#b171ce',
    500: '#8b2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fb8;
$custom-light: #b171ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fb8",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 280.292,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50546,
    "c": 0.20774,
    "h": 311.8
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#8B2FB8
secondary
#94C87B
accent
#E24579
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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