#8B41CE#8B41CE

#8B41CE is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.208 H 304.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8B41CE
RGBrgb(139, 65, 206)
HSLhsl(271, 59%, 53%)
HSVhsv(271, 68%, 81%)
CMYKcmyk(32.5%, 68.4%, 0%, 19.2%)
CIE-LABlab(43.84, 56.68, -60.60)
CIE-LCHlch(43.84, 82.98, 313.08°)
OKLaboklab(54.08% 0.1173 -0.1722)
OKLCHoklch(54.08% 0.208 304.3)
XYZxyz(23.6758, 13.7259, 59.7826)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41CE #84CE41
analogous
#4441CE #8B41CE #CE41CB
triadic
#8B41CE #CE8B41 #41CE8B
tetradic
#8B41CE #CE4441 #84CE41 #41CBCE
square
#8B41CE #CE4441 #84CE41 #41CBCE
split-complementary
#8B41CE #CBCE41 #41CE44
monochromatic
#4C1E76 #6C2BA7 #8B41CE #A972DB #C6A2E7

Accessibility & contrast

On white

5.61
#8B41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8B41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41CE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41CE#FFFFFF#000000##FFFFFF
##8B41CE1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0068CB
Tritanopia (blue-blind)
#7E6183
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b41ce;
/* rgb */ color: rgb(139, 65, 206);
/* oklch */ color: oklch(54.1% 0.208 304.3);
Tailwind
colors: {
  custom: {
    50: '#b27bde',
    500: '#8b41ce',
    950: '#000000',
  },
}
SCSS
$custom: #8b41ce;
$custom-light: #b27bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41ce",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 271.489,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.20838,
    "h": 304.3
  },
  "luminance": 0.13726
}

Semantic roles & 50–950 ramp

primary
#8B41CE
secondary
#B4D497
accent
#E24690
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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