#8341AB#8341AB

#8341AB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.169 H 310.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8341AB
RGBrgb(131, 65, 171)
HSLhsl(277, 45%, 46%)
HSVhsv(277, 62%, 67%)
CMYKcmyk(23.4%, 62%, 0%, 32.9%)
CIE-LABlab(40.49, 46.81, -45.57)
CIE-LCHlch(40.49, 65.33, 315.77°)
OKLaboklab(50.71% 0.1095 -0.1283)
OKLCHoklch(50.71% 0.169 310.5)
XYZxyz(18.5997, 11.5465, 39.7691)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341AB #69AB41
analogous
#4E41AB #8341AB #AB419E
triadic
#8341AB #AB8341 #41AB83
tetradic
#8341AB #AB4E41 #69AB41 #419EAB
square
#8341AB #AB4E41 #69AB41 #419EAB
split-complementary
#8341AB #9EAB41 #41AB4E
monochromatic
#3F1F52 #61307F #8341AB #A065C4 #BC91D5

Accessibility & contrast

On white

6.35
#8341AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8341AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341AB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341AB#FFFFFF#000000##FFFFFF
##8341AB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAE
Deuteranopia (green-blind)
#3561A8
Tritanopia (blue-blind)
#7E5570
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8341ab;
/* rgb */ color: rgb(131, 65, 171);
/* oklch */ color: oklch(50.7% 0.169 310.5);
Tailwind
colors: {
  custom: {
    50: '#aa79c4',
    500: '#8341ab',
    950: '#000000',
  },
}
SCSS
$custom: #8341ab;
$custom-light: #aa79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8341ab",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 277.358,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50708,
    "c": 0.16867,
    "h": 310.5
  },
  "luminance": 0.11546
}

Semantic roles & 50–950 ramp

primary
#8341AB
secondary
#9DC187
accent
#D55384
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8341AB

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

Preview Lab → · Contrast checker → · Palette generator →

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