#8341B9#8341B9

#8341B9 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.184 H 306.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8341B9
RGBrgb(131, 65, 185)
HSLhsl(273, 48%, 49%)
HSVhsv(273, 65%, 73%)
CMYKcmyk(29.2%, 64.9%, 0%, 27.5%)
CIE-LABlab(41.39, 50.06, -52.39)
CIE-LCHlch(41.39, 72.46, 313.70°)
OKLaboklab(51.65% 0.1088 -0.1483)
OKLCHoklch(51.65% 0.184 306.3)
XYZxyz(20.0054, 12.1089, 47.1729)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341B9 #77B941
analogous
#4741B9 #8341B9 #B941B3
triadic
#8341B9 #B98341 #41B983
tetradic
#8341B9 #B94741 #77B941 #41B3B9
square
#8341B9 #B94741 #77B941 #41B3B9
split-complementary
#8341B9 #B3B941 #41B947
monochromatic
#43215E #63318C #8341B9 #A06CCB #BE99DB

Accessibility & contrast

On white

6.14
#8341B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8341B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341B9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341B9#FFFFFF#000000##FFFFFF
##8341B91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#2562B6
Tritanopia (blue-blind)
#7A5A77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8341b9;
/* rgb */ color: rgb(131, 65, 185);
/* oklch */ color: oklch(51.6% 0.184 306.3);
Tailwind
colors: {
  custom: {
    50: '#ab7acf',
    500: '#8341b9',
    950: '#000000',
  },
}
SCSS
$custom: #8341b9;
$custom-light: #ab7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8341b9",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 273,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5165,
    "c": 0.18396,
    "h": 306.3
  },
  "luminance": 0.12109
}

Semantic roles & 50–950 ramp

primary
#8341B9
secondary
#A8C78F
accent
#D8508D
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8341B9

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

Preview Lab → · Contrast checker → · Palette generator →

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