#8341AD#8341AD

#8341AD is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.171 H 309.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8341AD
RGBrgb(131, 65, 173)
HSLhsl(277, 45%, 47%)
HSVhsv(277, 62%, 68%)
CMYKcmyk(24.3%, 62.4%, 0%, 32.2%)
CIE-LABlab(40.61, 47.27, -46.56)
CIE-LCHlch(40.61, 66.35, 315.43°)
OKLaboklab(50.84% 0.1094 -0.1312)
OKLCHoklch(50.84% 0.171 309.8)
XYZxyz(18.7917, 11.6234, 40.7807)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341AD #6BAD41
analogous
#4D41AD #8341AD #AD41A1
triadic
#8341AD #AD8341 #41AD83
tetradic
#8341AD #AD4D41 #6BAD41 #41A1AD
square
#8341AD #AD4D41 #6BAD41 #41A1AD
split-complementary
#8341AD #A1AD41 #41AD4D
monochromatic
#402054 #613081 #8341AD #A066C5 #BC92D6

Accessibility & contrast

On white

6.32
#8341AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8341AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341AD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341AD#FFFFFF#000000##FFFFFF
##8341AD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5DB0
Deuteranopia (green-blind)
#3361AA
Tritanopia (blue-blind)
#7D5671
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8341ad;
/* rgb */ color: rgb(131, 65, 173);
/* oklch */ color: oklch(50.8% 0.171 309.8);
Tailwind
colors: {
  custom: {
    50: '#aa79c6',
    500: '#8341ad',
    950: '#000000',
  },
}
SCSS
$custom: #8341ad;
$custom-light: #aa79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8341ad",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 173
  },
  "hsl": {
    "h": 276.667,
    "s": 45.378,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.17086,
    "h": 309.8
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#8341AD
secondary
#9FC288
accent
#D55385
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8341AD

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

Preview Lab → · Contrast checker → · Palette generator →

#8341AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva