#8B50BB#8B50BB

#8B50BB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.167 H 307.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8B50BB
RGBrgb(139, 80, 187)
HSLhsl(273, 44%, 52%)
HSVhsv(273, 57%, 73%)
CMYKcmyk(25.7%, 57.2%, 0%, 26.7%)
CIE-LABlab(45.38, 44.67, -47.10)
CIE-LCHlch(45.38, 64.91, 313.48°)
OKLaboklab(54.81% 0.1007 -0.1326)
OKLCHoklch(54.81% 0.167 307.2)
XYZxyz(22.4839, 14.8144, 48.6791)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B50BB #80BB50
analogous
#5550BB #8B50BB #BB50B6
triadic
#8B50BB #BB8B50 #50BB8B
tetradic
#8B50BB #BB5550 #80BB50 #50B6BB
square
#8B50BB #BB5550 #80BB50 #50B6BB
split-complementary
#8B50BB #B6BB50 #50BB55
monochromatic
#4C2868 #6C3A94 #8B50BB #A87CCC #C5A8DD

Accessibility & contrast

On white

5.30
#8B50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8B50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B50BB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B50BB#FFFFFF#000000##FFFFFF
##8B50BB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#84647E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b50bb;
/* rgb */ color: rgb(139, 80, 187);
/* oklch */ color: oklch(54.8% 0.167 307.2);
Tailwind
colors: {
  custom: {
    50: '#b084d0',
    500: '#8b50bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b50bb;
$custom-light: #b084d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b50bb",
  "rgb": {
    "r": 139,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 273.084,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.16655,
    "h": 307.2
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#8B50BB
secondary
#B1CB9C
accent
#D4548D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8B50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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