#8B46BE#8B46BE

#8B46BE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.185 H 307.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8B46BE
RGBrgb(139, 70, 190)
HSLhsl(275, 48%, 51%)
HSVhsv(275, 63%, 75%)
CMYKcmyk(26.8%, 63.2%, 0%, 25.5%)
CIE-LABlab(43.64, 50.55, -51.65)
CIE-LCHlch(43.64, 72.27, 314.38°)
OKLaboklab(53.6% 0.1132 -0.1459)
OKLCHoklch(53.6% 0.185 307.8)
XYZxyz(22.1300, 13.5873, 50.1620)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46BE #79BE46
analogous
#4F46BE #8B46BE #BE46B5
triadic
#8B46BE #BE8B46 #46BE8B
tetradic
#8B46BE #BE4F46 #79BE46 #46B5BE
square
#8B46BE #BE4F46 #79BE46 #46B5BE
split-complementary
#8B46BE #B5BE46 #46BE4F
monochromatic
#4A2466 #6B3493 #8B46BE #A773CE #C4A1DE

Accessibility & contrast

On white

5.65
#8B46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8B46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46BE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46BE#FFFFFF#000000##FFFFFF
##8B46BE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#835E7C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b46be;
/* rgb */ color: rgb(139, 70, 190);
/* oklch */ color: oklch(53.6% 0.185 307.8);
Tailwind
colors: {
  custom: {
    50: '#b17dd2',
    500: '#8b46be',
    950: '#000000',
  },
}
SCSS
$custom: #8b46be;
$custom-light: #b17dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46be",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 274.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53596,
    "c": 0.18467,
    "h": 307.8
  },
  "luminance": 0.13587
}

Semantic roles & 50–950 ramp

primary
#8B46BE
secondary
#ACCA95
accent
#D8508A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8B46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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