#8B41D7#8B41D7

#8B41D7 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.218 H 302.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8B41D7
RGBrgb(139, 65, 215)
HSLhsl(270, 65%, 55%)
HSVhsv(270, 70%, 84%)
CMYKcmyk(35.3%, 69.8%, 0%, 15.7%)
CIE-LABlab(44.48, 58.80, -64.73)
CIE-LCHlch(44.48, 87.45, 312.25°)
OKLaboklab(54.75% 0.116 -0.1843)
OKLCHoklch(54.75% 0.218 302.2)
XYZxyz(24.8006, 14.1758, 65.7064)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41D7 #8DD741
analogous
#4142D7 #8B41D7 #D641D7
triadic
#8B41D7 #D78B41 #41D78B
tetradic
#8B41D7 #D74142 #8DD741 #41D7D6
square
#8B41D7 #D74142 #8DD741 #41D7D6
split-complementary
#8B41D7 #D7D641 #42D741
monochromatic
#4E1B82 #6C26B5 #8B41D7 #AA74E2 #C9A6EC

Accessibility & contrast

On white

5.48
#8B41D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8B41D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41D7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41D7#FFFFFF#000000##FFFFFF
##8B41D71.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#7B6588
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b41d7;
/* rgb */ color: rgb(139, 65, 215);
/* oklch */ color: oklch(54.7% 0.218 302.2);
Tailwind
colors: {
  custom: {
    50: '#b37be4',
    500: '#8b41d7',
    950: '#000000',
  },
}
SCSS
$custom: #8b41d7;
$custom-light: #b37be4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41d7",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 269.6,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.21781,
    "h": 302.2
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#8B41D7
secondary
#BAD99A
accent
#E84095
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B41D7

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

Preview Lab → · Contrast checker → · Palette generator →

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