#8B46BB#8B46BB

#8B46BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.181 H 308.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8B46BB
RGBrgb(139, 70, 187)
HSLhsl(275, 46%, 50%)
HSVhsv(275, 63%, 73%)
CMYKcmyk(25.7%, 62.6%, 0%, 26.7%)
CIE-LABlab(43.44, 49.86, -50.20)
CIE-LCHlch(43.44, 70.75, 314.81°)
OKLaboklab(53.4% 0.1133 -0.1417)
OKLCHoklch(53.4% 0.181 308.7)
XYZxyz(21.8055, 13.4575, 48.4529)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B46BB #76BB46
analogous
#5146BB #8B46BB #BB46B0
triadic
#8B46BB #BB8B46 #46BB8B
tetradic
#8B46BB #BB5146 #76BB46 #46B0BB
square
#8B46BB #BB5146 #76BB46 #46B0BB
split-complementary
#8B46BB #B0BB46 #46BB51
monochromatic
#492462 #6A358F #8B46BB #A773CB #C3A0DC

Accessibility & contrast

On white

5.69
#8B46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8B46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B46BB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B46BB#FFFFFF#000000##FFFFFF
##8B46BB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0764BF
Deuteranopia (green-blind)
#3468B8
Tritanopia (blue-blind)
#845D7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b46bb;
/* rgb */ color: rgb(139, 70, 187);
/* oklch */ color: oklch(53.4% 0.181 308.7);
Tailwind
colors: {
  custom: {
    50: '#b07dd0',
    500: '#8b46bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b46bb;
$custom-light: #b07dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b46bb",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 275.385,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.18142,
    "h": 308.7
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#8B46BB
secondary
#AAC894
accent
#D65288
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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