#8B2FB3#8B2FB3

#8B2FB3 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.203 H 313.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8B2FB3
RGBrgb(139, 47, 179)
HSLhsl(282, 58%, 44%)
HSVhsv(282, 74%, 70%)
CMYKcmyk(22.3%, 73.7%, 0%, 29.8%)
CIE-LABlab(39.20, 58.45, -52.32)
CIE-LCHlch(39.20, 78.45, 318.17°)
OKLaboklab(50.19% 0.1393 -0.1478)
OKLCHoklch(50.19% 0.203 313.3)
XYZxyz(19.7992, 10.7773, 43.6763)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FB3 #57B32F
analogous
#492FB3 #8B2FB3 #B32F99
triadic
#8B2FB3 #B38B2F #2FB38B
tetradic
#8B2FB3 #B3492F #57B32F #2F99B3
square
#8B2FB3 #B3492F #57B32F #2F99B3
split-complementary
#8B2FB3 #99B32F #2FB349
monochromatic
#401652 #652283 #8B2FB3 #A94FD1 #C17FDD

Accessibility & contrast

On white

6.66
#8B2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8B2FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FB3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FB3#FFFFFF#000000##FFFFFF
##8B2FB31.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#235EB0
Tritanopia (blue-blind)
#874C6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b2fb3;
/* rgb */ color: rgb(139, 47, 179);
/* oklch */ color: oklch(50.2% 0.203 313.3);
Tailwind
colors: {
  custom: {
    50: '#b171ca',
    500: '#8b2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fb3;
$custom-light: #b171ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fb3",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 281.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.20308,
    "h": 313.3
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#8B2FB3
secondary
#8FC678
accent
#E24675
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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