#8341B4#8341B4

#8341B4 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.178 H 307.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8341B4
RGBrgb(131, 65, 180)
HSLhsl(274, 47%, 48%)
HSVhsv(274, 64%, 71%)
CMYKcmyk(27.2%, 63.9%, 0%, 29.4%)
CIE-LABlab(41.06, 48.89, -49.98)
CIE-LCHlch(41.06, 69.91, 314.37°)
OKLaboklab(51.31% 0.1091 -0.1413)
OKLCHoklch(51.31% 0.179 307.7)
XYZxyz(19.4869, 11.9014, 44.4418)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341B4 #72B441
analogous
#4941B4 #8341B4 #B441AB
triadic
#8341B4 #B48341 #41B483
tetradic
#8341B4 #B44941 #72B441 #41ABB4
square
#8341B4 #B44941 #72B441 #41ABB4
split-complementary
#8341B4 #ABB441 #41B449
monochromatic
#42215A #623187 #8341B4 #A069C9 #BD96D9

Accessibility & contrast

On white

6.21
#8341B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8341B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341B4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341B4#FFFFFF#000000##FFFFFF
##8341B41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#2C61B1
Tritanopia (blue-blind)
#7B5975
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8341b4;
/* rgb */ color: rgb(131, 65, 180);
/* oklch */ color: oklch(51.3% 0.178 307.7);
Tailwind
colors: {
  custom: {
    50: '#ab7acb',
    500: '#8341b4',
    950: '#000000',
  },
}
SCSS
$custom: #8341b4;
$custom-light: #ab7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8341b4",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 274.435,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.1785,
    "h": 307.7
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#8341B4
secondary
#A4C58C
accent
#D7518A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8341B4

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

Preview Lab → · Contrast checker → · Palette generator →

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