#8341B5#8341B5

#8341B5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.4% C 0.180 H 307.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8341B5
RGBrgb(131, 65, 181)
HSLhsl(274, 47%, 48%)
HSVhsv(274, 64%, 71%)
CMYKcmyk(27.6%, 64.1%, 0%, 29%)
CIE-LABlab(41.12, 49.12, -50.46)
CIE-LCHlch(41.12, 70.42, 314.23°)
OKLaboklab(51.38% 0.1091 -0.1427)
OKLCHoklch(51.38% 0.18 307.4)
XYZxyz(19.5891, 11.9423, 44.9802)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341B5 #73B541
analogous
#4941B5 #8341B5 #B541AD
triadic
#8341B5 #B58341 #41B583
tetradic
#8341B5 #B54941 #73B541 #41ADB5
square
#8341B5 #B54941 #73B541 #41ADB5
split-complementary
#8341B5 #ADB541 #41B549
monochromatic
#42215B #623188 #8341B5 #A06AC9 #BD97DA

Accessibility & contrast

On white

6.20
#8341B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8341B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341B5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341B5#FFFFFF#000000##FFFFFF
##8341B51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8341b5;
/* rgb */ color: rgb(131, 65, 181);
/* oklch */ color: oklch(51.4% 0.180 307.4);
Tailwind
colors: {
  custom: {
    50: '#ab7acc',
    500: '#8341b5',
    950: '#000000',
  },
}
SCSS
$custom: #8341b5;
$custom-light: #ab7acc;
$custom-dark: #000000;
JSON
{
  "hex": "#8341b5",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 274.138,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.17959,
    "h": 307.4
  },
  "luminance": 0.11942
}

Semantic roles & 50–950 ramp

primary
#8341B5
secondary
#A5C58C
accent
#D7518B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8341B5

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

Preview Lab → · Contrast checker → · Palette generator →

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