#8B50C8#8B50C8

#8B50C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.182 H 303.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B50C8
RGBrgb(139, 80, 200)
HSLhsl(270, 52%, 55%)
HSVhsv(270, 60%, 78%)
CMYKcmyk(30.5%, 60%, 0%, 21.6%)
CIE-LABlab(46.17, 47.78, -53.37)
CIE-LCHlch(46.17, 71.63, 311.83°)
OKLaboklab(55.64% 0.1007 -0.151)
OKLCHoklch(55.64% 0.182 303.7)
XYZxyz(23.9391, 15.3965, 56.3430)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B50C8 #8DC850
analogous
#5051C8 #8B50C8 #C750C8
triadic
#8B50C8 #C88B50 #50C88B
tetradic
#8B50C8 #C85051 #8DC850 #50C8C7
square
#8B50C8 #C85051 #8DC850 #50C8C7
split-complementary
#8B50C8 #C8C750 #51C850
monochromatic
#4E2678 #6C34A6 #8B50C8 #AA7FD7 #C9ADE5

Accessibility & contrast

On white

5.15
#8B50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8B50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B50C8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B50C8#FFFFFF#000000##FFFFFF
##8B50C81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116CCC
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#806884
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b50c8;
/* rgb */ color: rgb(139, 80, 200);
/* oklch */ color: oklch(55.6% 0.182 303.7);
Tailwind
colors: {
  custom: {
    50: '#b184d9',
    500: '#8b50c8',
    950: '#000000',
  },
}
SCSS
$custom: #8b50c8;
$custom-light: #b184d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b50c8",
  "rgb": {
    "r": 139,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 269.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55641,
    "c": 0.18155,
    "h": 303.7
  },
  "luminance": 0.15396
}

Semantic roles & 50–950 ramp

primary
#8B50C8
secondary
#BAD3A1
accent
#DC4C95
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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