#8B2BA7#8B2BA7

#8B2BA7 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.197 H 317.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8B2BA7
RGBrgb(139, 43, 167)
HSLhsl(286, 59%, 41%)
HSVhsv(286, 74%, 65%)
CMYKcmyk(16.8%, 74.3%, 0%, 34.5%)
CIE-LABlab(37.86, 57.55, -47.35)
CIE-LCHlch(37.86, 74.53, 320.56°)
OKLaboklab(48.97% 0.1447 -0.1331)
OKLCHoklch(48.97% 0.197 317.4)
XYZxyz(18.4854, 10.0075, 37.5097)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2BA7 #47A72B
analogous
#4D2BA7 #8B2BA7 #A72B85
triadic
#8B2BA7 #A78B2B #2BA78B
tetradic
#8B2BA7 #A74D2B #47A72B #2B85A7
square
#8B2BA7 #A74D2B #47A72B #2B85A7
split-complementary
#8B2BA7 #85A72B #2BA74D
monochromatic
#3A1246 #621E76 #8B2BA7 #AE41CE #C372DB

Accessibility & contrast

On white

7.00
#8B2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8B2BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2BA7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2BA7#FFFFFF#000000##FFFFFF
##8B2BA71.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#2E5CA4
Tritanopia (blue-blind)
#8A4567
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2ba7;
/* rgb */ color: rgb(139, 43, 167);
/* oklch */ color: oklch(49.0% 0.197 317.4);
Tailwind
colors: {
  custom: {
    50: '#b16ec2',
    500: '#8b2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #8b2ba7;
$custom-light: #b16ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2ba7",
  "rgb": {
    "r": 139,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 286.452,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48974,
    "c": 0.19662,
    "h": 317.4
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#8B2BA7
secondary
#7FC26C
accent
#E24669
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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