#8B41CF#8B41CF

#8B41CF is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.2% C 0.209 H 304.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8B41CF
RGBrgb(139, 65, 207)
HSLhsl(271, 60%, 53%)
HSVhsv(271, 69%, 81%)
CMYKcmyk(32.9%, 68.6%, 0%, 18.8%)
CIE-LABlab(43.91, 56.92, -61.06)
CIE-LCHlch(43.91, 83.48, 312.99°)
OKLaboklab(54.16% 0.1172 -0.1736)
OKLCHoklch(54.16% 0.209 304)
XYZxyz(23.7977, 13.7746, 60.4244)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41CF #85CF41
analogous
#4441CF #8B41CF #CF41CC
triadic
#8B41CF #CF8B41 #41CF8B
tetradic
#8B41CF #CF4441 #85CF41 #41CCCF
square
#8B41CF #CF4441 #85CF41 #41CCCF
split-complementary
#8B41CF #CCCF41 #41CF44
monochromatic
#4D1E77 #6C2BA8 #8B41CF #A972DB #C7A3E8

Accessibility & contrast

On white

5.59
#8B41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8B41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41CF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41CF#FFFFFF#000000##FFFFFF
##8B41CF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#7E6283
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b41cf;
/* rgb */ color: rgb(139, 65, 207);
/* oklch */ color: oklch(54.2% 0.209 304.0);
Tailwind
colors: {
  custom: {
    50: '#b27bdf',
    500: '#8b41cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b41cf;
$custom-light: #b27bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41cf",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 271.268,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.20943,
    "h": 304
  },
  "luminance": 0.13775
}

Semantic roles & 50–950 ramp

primary
#8B41CF
secondary
#B5D497
accent
#E34591
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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