#8A41BD#8A41BD

#8A41BD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.190 H 308.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A41BD
RGBrgb(138, 65, 189)
HSLhsl(275, 49%, 50%)
HSVhsv(275, 66%, 74%)
CMYKcmyk(27%, 65.6%, 0%, 25.9%)
CIE-LABlab(42.55, 52.54, -52.82)
CIE-LCHlch(42.55, 74.50, 314.85°)
OKLaboklab(52.76% 0.1178 -0.1494)
OKLCHoklch(52.76% 0.19 308.3)
XYZxyz(21.5550, 12.8583, 49.4806)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41BD #74BD41
analogous
#4C41BD #8A41BD #BD41B2
triadic
#8A41BD #BD8A41 #41BD8A
tetradic
#8A41BD #BD4C41 #74BD41 #41B2BD
square
#8A41BD #BD4C41 #74BD41 #41B2BD
split-complementary
#8A41BD #B2BD41 #41BD4C
monochromatic
#472262 #69318F #8A41BD #A66ECD #C29CDD

Accessibility & contrast

On white

5.88
#8A41BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8A41BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41BD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41BD#FFFFFF#000000##FFFFFF
##8A41BD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#825B79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a41bd;
/* rgb */ color: rgb(138, 65, 189);
/* oklch */ color: oklch(52.8% 0.190 308.3);
Tailwind
colors: {
  custom: {
    50: '#b07ad2',
    500: '#8a41bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a41bd;
$custom-light: #b07ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41bd",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 275.323,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52764,
    "c": 0.19023,
    "h": 308.3
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#8A41BD
secondary
#A8C991
accent
#D84F88
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A41BD

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

Preview Lab → · Contrast checker → · Palette generator →

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