#8B50BC#8B50BC

#8B50BC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.168 H 306.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8B50BC
RGBrgb(139, 80, 188)
HSLhsl(273, 45%, 53%)
HSVhsv(273, 57%, 74%)
CMYKcmyk(26.1%, 57.4%, 0%, 26.3%)
CIE-LABlab(45.44, 44.90, -47.59)
CIE-LCHlch(45.44, 65.43, 313.33°)
OKLaboklab(54.87% 0.1008 -0.1341)
OKLCHoklch(54.87% 0.168 306.9)
XYZxyz(22.5913, 14.8574, 49.2448)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B50BC #81BC50
analogous
#5550BC #8B50BC #BC50B7
triadic
#8B50BC #BC8B50 #50BC8B
tetradic
#8B50BC #BC5550 #81BC50 #50B7BC
square
#8B50BC #BC5550 #81BC50 #50B7BC
split-complementary
#8B50BC #B7BC50 #50BC55
monochromatic
#4C2869 #6C3996 #8B50BC #A87CCD #C6A9DE

Accessibility & contrast

On white

5.29
#8B50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8B50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B50BC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B50BC#FFFFFF#000000##FFFFFF
##8B50BC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769C0
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#83647E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b50bc;
/* rgb */ color: rgb(139, 80, 188);
/* oklch */ color: oklch(54.9% 0.168 306.9);
Tailwind
colors: {
  custom: {
    50: '#b084d1',
    500: '#8b50bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b50bc;
$custom-light: #b084d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b50bc",
  "rgb": {
    "r": 139,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 272.778,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.16771,
    "h": 306.9
  },
  "luminance": 0.14857
}

Semantic roles & 50–950 ramp

primary
#8B50BC
secondary
#B2CB9C
accent
#D4538E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8B50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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