#8B43BA#8B43BA

#8B43BA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.185 H 309.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8B43BA
RGBrgb(139, 67, 186)
HSLhsl(276, 47%, 50%)
HSVhsv(276, 64%, 73%)
CMYKcmyk(25.3%, 64%, 0%, 27.1%)
CIE-LABlab(42.84, 51.12, -50.59)
CIE-LCHlch(42.84, 71.92, 315.30°)
OKLaboklab(52.94% 0.117 -0.1428)
OKLCHoklch(52.94% 0.185 309.3)
XYZxyz(21.5158, 13.0488, 47.8301)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B43BA #72BA43
analogous
#5043BA #8B43BA #BA43AE
triadic
#8B43BA #BA8B43 #43BA8B
tetradic
#8B43BA #BA5043 #72BA43 #43AEBA
square
#8B43BA #BA5043 #72BA43 #43AEBA
split-complementary
#8B43BA #AEBA43 #43BA50
monochromatic
#482360 #69338D #8B43BA #A76FCB #C29CDB

Accessibility & contrast

On white

5.82
#8B43BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8B43BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B43BA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B43BA#FFFFFF#000000##FFFFFF
##8B43BA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#845B78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b43ba;
/* rgb */ color: rgb(139, 67, 186);
/* oklch */ color: oklch(52.9% 0.185 309.3);
Tailwind
colors: {
  custom: {
    50: '#b07ccf',
    500: '#8b43ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b43ba;
$custom-light: #b07ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b43ba",
  "rgb": {
    "r": 139,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 276.303,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52937,
    "c": 0.18459,
    "h": 309.3
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#8B43BA
secondary
#A7C891
accent
#D75186
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B43BA

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

Preview Lab → · Contrast checker → · Palette generator →

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