#8A41BB#8A41BB

#8A41BB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.188 H 308.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A41BB
RGBrgb(138, 65, 187)
HSLhsl(276, 48%, 49%)
HSVhsv(276, 65%, 73%)
CMYKcmyk(26.2%, 65.2%, 0%, 26.7%)
CIE-LABlab(42.42, 52.09, -51.86)
CIE-LCHlch(42.42, 73.50, 315.13°)
OKLaboklab(52.63% 0.1179 -0.1466)
OKLCHoklch(52.63% 0.188 308.8)
XYZxyz(21.3394, 12.7721, 48.3452)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41BB #72BB41
analogous
#4D41BB #8A41BB #BB41AF
triadic
#8A41BB #BB8A41 #41BB8A
tetradic
#8A41BB #BB4D41 #72BB41 #41AFBB
square
#8A41BB #BB4D41 #72BB41 #41AFBB
split-complementary
#8A41BB #AFBB41 #41BB4D
monochromatic
#472160 #68318E #8A41BB #A66DCC #C29ADC

Accessibility & contrast

On white

5.91
#8A41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8A41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41BB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41BB#FFFFFF#000000##FFFFFF
##8A41BB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#2C65B8
Tritanopia (blue-blind)
#835A78
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a41bb;
/* rgb */ color: rgb(138, 65, 187);
/* oklch */ color: oklch(52.6% 0.188 308.8);
Tailwind
colors: {
  custom: {
    50: '#b07ad0',
    500: '#8a41bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a41bb;
$custom-light: #b07ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41bb",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 275.902,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52628,
    "c": 0.18811,
    "h": 308.8
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#8A41BB
secondary
#A6C890
accent
#D85087
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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