#8B2FA3#8B2FA3

#8B2FA3 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.188 H 318.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8B2FA3
RGBrgb(139, 47, 163)
HSLhsl(288, 55%, 41%)
HSVhsv(288, 71%, 64%)
CMYKcmyk(14.7%, 71.2%, 0%, 36.1%)
CIE-LABlab(38.14, 55.22, -44.49)
CIE-LCHlch(38.14, 70.91, 321.14°)
OKLaboklab(49.09% 0.141 -0.1248)
OKLCHoklch(49.09% 0.188 318.5)
XYZxyz(18.2739, 10.1672, 35.6431)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FA3 #47A32F
analogous
#512FA3 #8B2FA3 #A32F81
triadic
#8B2FA3 #A38B2F #2FA38B
tetradic
#8B2FA3 #A3512F #47A32F #2F81A3
square
#8B2FA3 #A3512F #47A32F #2F81A3
split-complementary
#8B2FA3 #81A32F #2FA351
monochromatic
#3A1444 #622173 #8B2FA3 #AE46CA #C375D7

Accessibility & contrast

On white

6.92
#8B2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8B2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FA3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FA3#FFFFFF#000000##FFFFFF
##8B2FA31.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#8B4566
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b2fa3;
/* rgb */ color: rgb(139, 47, 163);
/* oklch */ color: oklch(49.1% 0.188 318.5);
Tailwind
colors: {
  custom: {
    50: '#b070bf',
    500: '#8b2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fa3;
$custom-light: #b070bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fa3",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 287.586,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49094,
    "c": 0.18831,
    "h": 318.5
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#8B2FA3
secondary
#7FBF6F
accent
#DF4968
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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