#8B50E7#8B50E7

#8B50E7 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.8% C 0.217 H 297.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8B50E7
RGBrgb(139, 80, 231)
HSLhsl(263, 76%, 61%)
HSVhsv(263, 65%, 91%)
CMYKcmyk(39.8%, 65.4%, 0%, 9.4%)
CIE-LABlab(48.25, 55.48, -67.71)
CIE-LCHlch(48.25, 87.54, 309.33°)
OKLaboklab(57.81% 0.0985 -0.1932)
OKLCHoklch(57.81% 0.217 297)
XYZxyz(27.9362, 16.9953, 77.3944)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B50E7 #ACE750
analogous
#5060E7 #8B50E7 #D750E7
triadic
#8B50E7 #E78B50 #50E78B
tetradic
#8B50E7 #E75060 #ACE750 #50E7D7
square
#8B50E7 #E75060 #ACE750 #50E7D7
split-complementary
#8B50E7 #E7D750 #60E750
monochromatic
#4F17A6 #681EDC #8B50E7 #AF86EE #D2BCF6

Accessibility & contrast

On white

4.77
#8B50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8B50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B50E7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B50E7#FFFFFF#000000##FFFFFF
##8B50E71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#747395
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b50e7;
/* rgb */ color: rgb(139, 80, 231);
/* oklch */ color: oklch(57.8% 0.217 297.0);
Tailwind
colors: {
  custom: {
    50: '#b385f0',
    500: '#8b50e7',
    950: '#000000',
  },
}
SCSS
$custom: #8b50e7;
$custom-light: #b385f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b50e7",
  "rgb": {
    "r": 139,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 263.444,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.21684,
    "h": 297
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#8B50E7
secondary
#D0E6AD
accent
#D80D89
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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