#8B46BD#8B46BD

#8B46BD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.184 H 308.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8B46BD
RGBrgb(139, 70, 189)
HSLhsl(275, 47%, 51%)
HSVhsv(275, 63%, 74%)
CMYKcmyk(26.5%, 63%, 0%, 25.9%)
CIE-LABlab(43.57, 50.32, -51.17)
CIE-LCHlch(43.57, 71.76, 314.52°)
OKLaboklab(53.53% 0.1132 -0.1445)
OKLCHoklch(53.53% 0.184 308.1)
XYZxyz(22.0211, 13.5437, 49.5884)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46BD #78BD46
analogous
#4F46BD #8B46BD #BD46B3
triadic
#8B46BD #BD8B46 #46BD8B
tetradic
#8B46BD #BD4F46 #78BD46 #46B3BD
square
#8B46BD #BD4F46 #78BD46 #46B3BD
split-complementary
#8B46BD #B3BD46 #46BD4F
monochromatic
#492465 #6A3492 #8B46BD #A773CD #C4A0DD

Accessibility & contrast

On white

5.66
#8B46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8B46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46BD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46BD#FFFFFF#000000##FFFFFF
##8B46BD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#835E7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b46bd;
/* rgb */ color: rgb(139, 70, 189);
/* oklch */ color: oklch(53.5% 0.184 308.1);
Tailwind
colors: {
  custom: {
    50: '#b07dd1',
    500: '#8b46bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b46bd;
$custom-light: #b07dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46bd",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 274.79,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.18359,
    "h": 308.1
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#8B46BD
secondary
#ABCA95
accent
#D75189
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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