#8B41DB#8B41DB

#8B41DB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.222 H 301.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8B41DB
RGBrgb(139, 65, 219)
HSLhsl(269, 68%, 56%)
HSVhsv(269, 70%, 86%)
CMYKcmyk(36.5%, 70.3%, 0%, 14.1%)
CIE-LABlab(44.78, 59.75, -66.54)
CIE-LCHlch(44.78, 89.43, 311.92°)
OKLaboklab(55.05% 0.1154 -0.1897)
OKLCHoklch(55.05% 0.222 301.3)
XYZxyz(25.3208, 14.3839, 68.4465)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41DB #91DB41
analogous
#4144DB #8B41DB #D841DB
triadic
#8B41DB #DB8B41 #41DB8B
tetradic
#8B41DB #DB4144 #91DB41 #41DBD8
square
#8B41DB #DB4144 #91DB41 #41DBD8
split-complementary
#8B41DB #DBD841 #44DB41
monochromatic
#4F1A88 #6C23BB #8B41DB #AA74E5 #CAA8EE

Accessibility & contrast

On white

5.42
#8B41DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8B41DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41DB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41DB#FFFFFF#000000##FFFFFF
##8B41DB1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#7A668A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b41db;
/* rgb */ color: rgb(139, 65, 219);
/* oklch */ color: oklch(55.0% 0.222 301.3);
Tailwind
colors: {
  custom: {
    50: '#b37be7',
    500: '#8b41db',
    950: '#000000',
  },
}
SCSS
$custom: #8b41db;
$custom-light: #b37be7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41db",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 268.831,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5505,
    "c": 0.22198,
    "h": 301.3
  },
  "luminance": 0.14384
}

Semantic roles & 50–950 ramp

primary
#8B41DB
secondary
#BDDC9C
accent
#EB3D97
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B41DB

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

Preview Lab → · Contrast checker → · Palette generator →

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