#8B50D9#8B50D9

#8B50D9 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.201 H 299.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8B50D9
RGBrgb(139, 80, 217)
HSLhsl(266, 64%, 58%)
HSVhsv(266, 63%, 85%)
CMYKcmyk(35.9%, 63.1%, 0%, 14.9%)
CIE-LABlab(47.28, 51.96, -61.34)
CIE-LCHlch(47.28, 80.39, 310.27°)
OKLaboklab(56.8% 0.0999 -0.1744)
OKLCHoklch(56.8% 0.201 299.8)
XYZxyz(26.0374, 16.2358, 67.3942)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B50D9 #9ED950
analogous
#505AD9 #8B50D9 #CF50D9
triadic
#8B50D9 #D98B50 #50D98B
tetradic
#8B50D9 #D9505A #9ED950 #50D9CF
square
#8B50D9 #D9505A #9ED950 #50D9CF
split-complementary
#8B50D9 #D9CF50 #5AD950
monochromatic
#501F8F #6B2AC2 #8B50D9 #AC82E4 #CEB5EF

Accessibility & contrast

On white

4.94
#8B50D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8B50D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B50D9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B50D9#FFFFFF#000000##FFFFFF
##8B50D91.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#116FD6
Tritanopia (blue-blind)
#7A6E8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b50d9;
/* rgb */ color: rgb(139, 80, 217);
/* oklch */ color: oklch(56.8% 0.201 299.8);
Tailwind
colors: {
  custom: {
    50: '#b284e6',
    500: '#8b50d9',
    950: '#000000',
  },
}
SCSS
$custom: #8b50d9;
$custom-light: #b284e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b50d9",
  "rgb": {
    "r": 139,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 265.839,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56801,
    "c": 0.20101,
    "h": 299.8
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#8B50D9
secondary
#C6DEA7
accent
#E7409F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B50D9

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

Preview Lab → · Contrast checker → · Palette generator →

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