#8B41CA#8B41CA

#8B41CA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.204 H 305.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8B41CA
RGBrgb(139, 65, 202)
HSLhsl(272, 56%, 52%)
HSVhsv(272, 68%, 79%)
CMYKcmyk(31.2%, 67.8%, 0%, 20.8%)
CIE-LABlab(43.56, 55.75, -58.75)
CIE-LCHlch(43.56, 80.99, 313.50°)
OKLaboklab(53.79% 0.1178 -0.1667)
OKLCHoklch(53.79% 0.204 305.2)
XYZxyz(23.1961, 13.5340, 57.2560)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B41CA #80CA41
analogous
#4741CA #8B41CA #CA41C4
triadic
#8B41CA #CA8B41 #41CA8B
tetradic
#8B41CA #CA4741 #80CA41 #41C4CA
square
#8B41CA #CA4741 #80CA41 #41C4CA
split-complementary
#8B41CA #C4CA41 #41CA47
monochromatic
#4C2071 #6C2DA1 #8B41CA #A871D7 #C5A1E5

Accessibility & contrast

On white

5.67
#8B41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8B41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B41CA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B41CA#FFFFFF#000000##FFFFFF
##8B41CA1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#1167C7
Tritanopia (blue-blind)
#806080
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b41ca;
/* rgb */ color: rgb(139, 65, 202);
/* oklch */ color: oklch(53.8% 0.204 305.2);
Tailwind
colors: {
  custom: {
    50: '#b27bdb',
    500: '#8b41ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b41ca;
$custom-light: #b27bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b41ca",
  "rgb": {
    "r": 139,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 272.409,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53794,
    "c": 0.20419,
    "h": 305.2
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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