#8A41B4#8A41B4

#8A41B4 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.181 H 310.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A41B4
RGBrgb(138, 65, 180)
HSLhsl(278, 47%, 48%)
HSVhsv(278, 64%, 71%)
CMYKcmyk(23.3%, 63.9%, 0%, 29.4%)
CIE-LABlab(41.97, 50.52, -48.47)
CIE-LCHlch(41.97, 70.01, 316.18°)
OKLaboklab(52.16% 0.1183 -0.1366)
OKLCHoklch(52.16% 0.181 310.9)
XYZxyz(20.6082, 12.4796, 44.4944)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41B4 #6BB441
analogous
#5041B4 #8A41B4 #B441A4
triadic
#8A41B4 #B48A41 #41B48A
tetradic
#8A41B4 #B45041 #6BB441 #41A4B4
square
#8A41B4 #B45041 #6BB441 #41A4B4
split-complementary
#8A41B4 #A4B441 #41B450
monochromatic
#45215A #683187 #8A41B4 #A669C9 #C196D9

Accessibility & contrast

On white

6.01
#8A41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A41B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41B4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41B4#FFFFFF#000000##FFFFFF
##8A41B41.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0360B8
Deuteranopia (green-blind)
#3464B1
Tritanopia (blue-blind)
#855875
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a41b4;
/* rgb */ color: rgb(138, 65, 180);
/* oklch */ color: oklch(52.2% 0.181 310.9);
Tailwind
colors: {
  custom: {
    50: '#b07acb',
    500: '#8a41b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a41b4;
$custom-light: #b07acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41b4",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 278.087,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.18073,
    "h": 310.9
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#8A41B4
secondary
#A1C58C
accent
#D75182
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8A41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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