#8B46BA#8B46BA

#8B46BA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.180 H 308.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8B46BA
RGBrgb(139, 70, 186)
HSLhsl(276, 46%, 50%)
HSVhsv(276, 62%, 73%)
CMYKcmyk(25.3%, 62.4%, 0%, 27.1%)
CIE-LABlab(43.38, 49.63, -49.72)
CIE-LCHlch(43.38, 70.25, 314.95°)
OKLaboklab(53.33% 0.1134 -0.1403)
OKLCHoklch(53.33% 0.18 308.9)
XYZxyz(21.6988, 13.4148, 47.8911)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46BA #75BA46
analogous
#5146BA #8B46BA #BA46AF
triadic
#8B46BA #BA8B46 #46BA8B
tetradic
#8B46BA #BA5146 #75BA46 #46AFBA
square
#8B46BA #BA5146 #75BA46 #46AFBA
split-complementary
#8B46BA #AFBA46 #46BA51
monochromatic
#492461 #6A358E #8B46BA #A773CB #C39FDB

Accessibility & contrast

On white

5.70
#8B46BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8B46BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46BA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46BA#FFFFFF#000000##FFFFFF
##8B46BA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BE
Deuteranopia (green-blind)
#3567B7
Tritanopia (blue-blind)
#845D79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b46ba;
/* rgb */ color: rgb(139, 70, 186);
/* oklch */ color: oklch(53.3% 0.180 308.9);
Tailwind
colors: {
  custom: {
    50: '#b07dcf',
    500: '#8b46ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b46ba;
$custom-light: #b07dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46ba",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 275.69,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.18034,
    "h": 308.9
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#8B46BA
secondary
#A9C894
accent
#D55287
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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