#8B41CB#8B41CB

#8B41CB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.205 H 305.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8B41CB
RGBrgb(139, 65, 203)
HSLhsl(272, 57%, 53%)
HSVhsv(272, 68%, 80%)
CMYKcmyk(31.5%, 68%, 0%, 20.4%)
CIE-LABlab(43.63, 55.98, -59.21)
CIE-LCHlch(43.63, 81.49, 313.39°)
OKLaboklab(53.87% 0.1177 -0.1681)
OKLCHoklch(53.87% 0.205 305)
XYZxyz(23.3148, 13.5815, 57.8816)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41CB #81CB41
analogous
#4641CB #8B41CB #CB41C6
triadic
#8B41CB #CB8B41 #41CB8B
tetradic
#8B41CB #CB4641 #81CB41 #41C6CB
square
#8B41CB #CB4641 #81CB41 #41C6CB
split-complementary
#8B41CB #C6CB41 #41CB46
monochromatic
#4C1F72 #6C2CA2 #8B41CB #A871D8 #C6A1E5

Accessibility & contrast

On white

5.65
#8B41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8B41CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41CB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41CB#FFFFFF#000000##FFFFFF
##8B41CB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0D67C8
Tritanopia (blue-blind)
#7F6081
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b41cb;
/* rgb */ color: rgb(139, 65, 203);
/* oklch */ color: oklch(53.9% 0.205 305.0);
Tailwind
colors: {
  custom: {
    50: '#b27bdc',
    500: '#8b41cb',
    950: '#000000',
  },
}
SCSS
$custom: #8b41cb;
$custom-light: #b27bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41cb",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 272.174,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.20524,
    "h": 305
  },
  "luminance": 0.13581
}

Semantic roles & 50–950 ramp

primary
#8B41CB
secondary
#B2D296
accent
#E0488E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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