#8341B0#8341B0

#8341B0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.174 H 308.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8341B0
RGBrgb(131, 65, 176)
HSLhsl(276, 46%, 47%)
HSVhsv(276, 63%, 69%)
CMYKcmyk(25.6%, 63.1%, 0%, 31%)
CIE-LABlab(40.80, 47.96, -48.03)
CIE-LCHlch(40.80, 67.87, 314.96°)
OKLaboklab(51.04% 0.1093 -0.1355)
OKLCHoklch(51.04% 0.174 308.9)
XYZxyz(19.0853, 11.7408, 42.3267)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341B0 #6EB041
analogous
#4C41B0 #8341B0 #B041A5
triadic
#8341B0 #B08341 #41B083
tetradic
#8341B0 #B04C41 #6EB041 #41A5B0
square
#8341B0 #B04C41 #6EB041 #41A5B0
split-complementary
#8341B0 #A5B041 #41B04C
monochromatic
#402057 #623083 #8341B0 #A067C7 #BC94D7

Accessibility & contrast

On white

6.27
#8341B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8341B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341B0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341B0#FFFFFF#000000##FFFFFF
##8341B01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045DB3
Deuteranopia (green-blind)
#3061AD
Tritanopia (blue-blind)
#7C5772
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8341b0;
/* rgb */ color: rgb(131, 65, 176);
/* oklch */ color: oklch(51.0% 0.174 308.9);
Tailwind
colors: {
  custom: {
    50: '#aa79c8',
    500: '#8341b0',
    950: '#000000',
  },
}
SCSS
$custom: #8341b0;
$custom-light: #aa79c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8341b0",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 275.676,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.17413,
    "h": 308.9
  },
  "luminance": 0.1174
}

Semantic roles & 50–950 ramp

primary
#8341B0
secondary
#A1C38A
accent
#D65287
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8341B0

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

Preview Lab → · Contrast checker → · Palette generator →

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