#8B50CC#8B50CC

#8B50CC is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.186 H 302.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8B50CC
RGBrgb(139, 80, 204)
HSLhsl(269, 55%, 56%)
HSVhsv(269, 61%, 80%)
CMYKcmyk(31.9%, 60.8%, 0%, 20%)
CIE-LABlab(46.43, 48.75, -55.27)
CIE-LCHlch(46.43, 73.70, 311.41°)
OKLaboklab(55.91% 0.1006 -0.1566)
OKLCHoklch(55.91% 0.186 302.7)
XYZxyz(24.4127, 15.5859, 58.8373)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B50CC #91CC50
analogous
#5053CC #8B50CC #C950CC
triadic
#8B50CC #CC8B50 #50CC8B
tetradic
#8B50CC #CC5053 #91CC50 #50CCC9
square
#8B50CC #CC5053 #91CC50 #50CCC9
split-complementary
#8B50CC #CCC950 #53CC50
monochromatic
#4F247D #6C32AD #8B50CC #AA7FDA #CAAFE8

Accessibility & contrast

On white

5.10
#8B50CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8B50CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B50CC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B50CC#FFFFFF#000000##FFFFFF
##8B50CC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#2D6EC9
Tritanopia (blue-blind)
#7E6A86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b50cc;
/* rgb */ color: rgb(139, 80, 204);
/* oklch */ color: oklch(55.9% 0.186 302.7);
Tailwind
colors: {
  custom: {
    50: '#b184dc',
    500: '#8b50cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b50cc;
$custom-light: #b184dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b50cc",
  "rgb": {
    "r": 139,
    "g": 80,
    "b": 204
  },
  "hsl": {
    "h": 268.548,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55908,
    "c": 0.18614,
    "h": 302.7
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#8B50CC
secondary
#BDD6A2
accent
#DE4A97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B50CC

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

Preview Lab → · Contrast checker → · Palette generator →

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