#8B50DB#8B50DB

#8B50DB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.9% C 0.203 H 299.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8B50DB
RGBrgb(139, 80, 219)
HSLhsl(265, 66%, 59%)
HSVhsv(265, 63%, 86%)
CMYKcmyk(36.5%, 63.5%, 0%, 14.1%)
CIE-LABlab(47.42, 52.46, -62.26)
CIE-LCHlch(47.42, 81.41, 310.12°)
OKLaboklab(56.94% 0.0997 -0.1771)
OKLCHoklch(56.94% 0.203 299.4)
XYZxyz(26.2991, 16.3405, 68.7726)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B50DB #A0DB50
analogous
#505ADB #8B50DB #D150DB
triadic
#8B50DB #DB8B50 #50DB8B
tetradic
#8B50DB #DB505A #A0DB50 #50DBD1
square
#8B50DB #DB505A #A0DB50 #50DBD1
split-complementary
#8B50DB #DBD150 #5ADB50
monochromatic
#501E92 #6B29C5 #8B50DB #AD83E5 #CEB6F0

Accessibility & contrast

On white

4.92
#8B50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8B50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B50DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B50DB#FFFFFF#000000##FFFFFF
##8B50DB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#086FD8
Tritanopia (blue-blind)
#796F8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b50db;
/* rgb */ color: rgb(139, 80, 219);
/* oklch */ color: oklch(56.9% 0.203 299.4);
Tailwind
colors: {
  custom: {
    50: '#b284e7',
    500: '#8b50db',
    950: '#000000',
  },
}
SCSS
$custom: #8b50db;
$custom-light: #b284e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b50db",
  "rgb": {
    "r": 139,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 265.468,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.20328,
    "h": 299.4
  },
  "luminance": 0.16341
}

Semantic roles & 50–950 ramp

primary
#8B50DB
secondary
#C8DFA8
accent
#E93FA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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