#8A41BA#8A41BA

#8A41BA is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.187 H 309.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8A41BA
RGBrgb(138, 65, 186)
HSLhsl(276, 48%, 49%)
HSVhsv(276, 65%, 73%)
CMYKcmyk(25.8%, 65.1%, 0%, 27.1%)
CIE-LABlab(42.35, 51.86, -51.38)
CIE-LCHlch(42.35, 73.00, 315.27°)
OKLaboklab(52.56% 0.118 -0.1451)
OKLCHoklch(52.56% 0.187 309.1)
XYZxyz(21.2327, 12.7294, 47.7833)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41BA #71BA41
analogous
#4D41BA #8A41BA #BA41AE
triadic
#8A41BA #BA8A41 #41BA8A
tetradic
#8A41BA #BA4D41 #71BA41 #41AEBA
square
#8A41BA #BA4D41 #71BA41 #41AEBA
split-complementary
#8A41BA #AEBA41 #41BA4D
monochromatic
#47215F #68318D #8A41BA #A66CCC #C29ADC

Accessibility & contrast

On white

5.92
#8A41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A41BA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41BA#FFFFFF#000000##FFFFFF
##8A41BA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a41ba;
/* rgb */ color: rgb(138, 65, 186);
/* oklch */ color: oklch(52.6% 0.187 309.1);
Tailwind
colors: {
  custom: {
    50: '#b07acf',
    500: '#8a41ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a41ba;
$custom-light: #b07acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41ba",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 276.198,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.18706,
    "h": 309.1
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#8A41BA
secondary
#A6C88F
accent
#D85086
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8A41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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