#8A41B3#8A41B3

#8A41B3 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.180 H 311.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A41B3
RGBrgb(138, 65, 179)
HSLhsl(278, 47%, 48%)
HSVhsv(278, 64%, 70%)
CMYKcmyk(22.9%, 63.7%, 0%, 29.8%)
CIE-LABlab(41.91, 50.29, -47.98)
CIE-LCHlch(41.91, 69.51, 316.35°)
OKLaboklab(52.09% 0.1184 -0.1352)
OKLCHoklch(52.09% 0.18 311.2)
XYZxyz(20.5067, 12.4390, 43.9598)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A41B3 #6AB341
analogous
#5141B3 #8A41B3 #B341A3
triadic
#8A41B3 #B38A41 #41B38A
tetradic
#8A41B3 #B35141 #6AB341 #41A3B3
square
#8A41B3 #B35141 #6AB341 #41A3B3
split-complementary
#8A41B3 #A3B341 #41B351
monochromatic
#452059 #673186 #8A41B3 #A669C8 #C196D9

Accessibility & contrast

On white

6.02
#8A41B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8A41B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A41B3
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A41B3#FFFFFF#000000##FFFFFF
##8A41B31.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075FB7
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#855774
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a41b3;
/* rgb */ color: rgb(138, 65, 179);
/* oklch */ color: oklch(52.1% 0.180 311.2);
Tailwind
colors: {
  custom: {
    50: '#af7aca',
    500: '#8a41b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a41b3;
$custom-light: #af7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a41b3",
  "rgb": {
    "r": 138,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 278.421,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52094,
    "c": 0.17967,
    "h": 311.2
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#8A41B3
secondary
#A0C48B
accent
#D65181
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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