#8B50B2#8B50B2

#8B50B2 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.156 H 310.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8B50B2
RGBrgb(139, 80, 178)
HSLhsl(276, 39%, 51%)
HSVhsv(276, 55%, 70%)
CMYKcmyk(21.9%, 55.1%, 0%, 30.2%)
CIE-LABlab(44.86, 42.57, -42.67)
CIE-LCHlch(44.86, 60.27, 314.93°)
OKLaboklab(54.26% 0.1004 -0.1197)
OKLCHoklch(54.26% 0.156 310)
XYZxyz(21.5505, 14.4410, 43.7630)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B50B2 #77B250
analogous
#5A50B2 #8B50B2 #B250A8
triadic
#8B50B2 #B28B50 #50B28B
tetradic
#8B50B2 #B25A50 #77B250 #50A8B2
square
#8B50B2 #B25A50 #77B250 #50A8B2
split-complementary
#8B50B2 #A8B250 #50B25A
monochromatic
#49295E #6A3C89 #8B50B2 #A77AC5 #C3A5D7

Accessibility & contrast

On white

5.40
#8B50B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8B50B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B50B2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B50B2#FFFFFF#000000##FFFFFF
##8B50B21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B5
Deuteranopia (green-blind)
#476BB0
Tritanopia (blue-blind)
#866179
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b50b2;
/* rgb */ color: rgb(139, 80, 178);
/* oklch */ color: oklch(54.3% 0.156 310.0);
Tailwind
colors: {
  custom: {
    50: '#af83c9',
    500: '#8b50b2',
    950: '#000000',
  },
}
SCSS
$custom: #8b50b2;
$custom-light: #af83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b50b2",
  "rgb": {
    "r": 139,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 276.122,
    "s": 38.889,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54257,
    "c": 0.15618,
    "h": 310
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#8B50B2
secondary
#AAC599
accent
#CF5988
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8B50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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