#8B50C7#8B50C7

#8B50C7 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.6% C 0.180 H 304.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8B50C7
RGBrgb(139, 80, 199)
HSLhsl(270, 52%, 55%)
HSVhsv(270, 60%, 78%)
CMYKcmyk(30.2%, 59.8%, 0%, 22%)
CIE-LABlab(46.11, 47.53, -52.90)
CIE-LCHlch(46.11, 71.12, 311.94°)
OKLaboklab(55.58% 0.1008 -0.1496)
OKLCHoklch(55.58% 0.18 304)
XYZxyz(23.8226, 15.3499, 55.7296)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B50C7 #8CC750
analogous
#5051C7 #8B50C7 #C750C7
triadic
#8B50C7 #C78B50 #50C78B
tetradic
#8B50C7 #C75051 #8CC750 #50C7C7
square
#8B50C7 #C75051 #8CC750 #50C7C7
split-complementary
#8B50C7 #C7C750 #51C750
monochromatic
#4E2677 #6C35A5 #8B50C7 #AA7ED6 #C8ADE5

Accessibility & contrast

On white

5.16
#8B50C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8B50C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B50C7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B50C7#FFFFFF#000000##FFFFFF
##8B50C71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136CCB
Deuteranopia (green-blind)
#336DC4
Tritanopia (blue-blind)
#806884
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b50c7;
/* rgb */ color: rgb(139, 80, 199);
/* oklch */ color: oklch(55.6% 0.180 304.0);
Tailwind
colors: {
  custom: {
    50: '#b184d9',
    500: '#8b50c7',
    950: '#000000',
  },
}
SCSS
$custom: #8b50c7;
$custom-light: #b184d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b50c7",
  "rgb": {
    "r": 139,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 269.748,
    "s": 51.515,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55576,
    "c": 0.18039,
    "h": 304
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#8B50C7
secondary
#BAD2A0
accent
#DB4D94
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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