#8B41D9#8B41D9

#8B41D9 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.220 H 301.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8B41D9
RGBrgb(139, 65, 217)
HSLhsl(269, 67%, 55%)
HSVhsv(269, 70%, 85%)
CMYKcmyk(35.9%, 70%, 0%, 14.9%)
CIE-LABlab(44.63, 59.27, -65.63)
CIE-LCHlch(44.63, 88.44, 312.08°)
OKLaboklab(54.9% 0.1157 -0.187)
OKLCHoklch(54.9% 0.22 301.7)
XYZxyz(25.0591, 14.2792, 67.0681)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41D9 #8FD941
analogous
#4143D9 #8B41D9 #D741D9
triadic
#8B41D9 #D98B41 #41D98B
tetradic
#8B41D9 #D94143 #8FD941 #41D9D7
square
#8B41D9 #D94143 #8FD941 #41D9D7
split-complementary
#8B41D9 #D9D741 #43D941
monochromatic
#4E1B85 #6C25B8 #8B41D9 #AA74E3 #C9A7ED

Accessibility & contrast

On white

5.45
#8B41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8B41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41D9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41D9#FFFFFF#000000##FFFFFF
##8B41D91.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#7A6589
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b41d9;
/* rgb */ color: rgb(139, 65, 217);
/* oklch */ color: oklch(54.9% 0.220 301.7);
Tailwind
colors: {
  custom: {
    50: '#b37be6',
    500: '#8b41d9',
    950: '#000000',
  },
}
SCSS
$custom: #8b41d9;
$custom-light: #b37be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41d9",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 269.211,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54899,
    "c": 0.21989,
    "h": 301.7
  },
  "luminance": 0.14279
}

Semantic roles & 50–950 ramp

primary
#8B41D9
secondary
#BCDB9B
accent
#EA3E96
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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