#8A41B0#8A41B0

#8A41B0 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.177 H 312.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A41B0
RGBrgb(138, 65, 176)
HSLhsl(279, 46%, 47%)
HSVhsv(279, 63%, 69%)
CMYKcmyk(21.6%, 63.1%, 0%, 31%)
CIE-LABlab(41.72, 49.63, -46.51)
CIE-LCHlch(41.72, 68.02, 316.86°)
OKLaboklab(51.9% 0.1185 -0.1309)
OKLCHoklch(51.9% 0.177 312.1)
XYZxyz(20.2066, 12.3190, 42.3792)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41B0 #67B041
analogous
#5241B0 #8A41B0 #B0419F
triadic
#8A41B0 #B08A41 #41B08A
tetradic
#8A41B0 #B05241 #67B041 #419FB0
square
#8A41B0 #B05241 #67B041 #419FB0
split-complementary
#8A41B0 #9FB041 #41B052
monochromatic
#442057 #673083 #8A41B0 #A667C7 #C094D7

Accessibility & contrast

On white

6.06
#8A41B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A41B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41B0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41B0#FFFFFF#000000##FFFFFF
##8A41B01.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115FB3
Deuteranopia (green-blind)
#3864AD
Tritanopia (blue-blind)
#865672
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a41b0;
/* rgb */ color: rgb(138, 65, 176);
/* oklch */ color: oklch(51.9% 0.177 312.1);
Tailwind
colors: {
  custom: {
    50: '#af7ac8',
    500: '#8a41b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a41b0;
$custom-light: #af7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41b0",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 279.459,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.17651,
    "h": 312.1
  },
  "luminance": 0.12318
}

Semantic roles & 50–950 ramp

primary
#8A41B0
secondary
#9DC38A
accent
#D6527F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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