#8341B8#8341B8

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

Color values

HEX#8341B8
RGBrgb(131, 65, 184)
HSLhsl(273, 48%, 49%)
HSVhsv(273, 65%, 72%)
CMYKcmyk(28.8%, 64.7%, 0%, 27.8%)
CIE-LABlab(41.32, 49.82, -51.91)
CIE-LCHlch(41.32, 71.95, 313.82°)
OKLaboklab(51.58% 0.1089 -0.1469)
OKLCHoklch(51.58% 0.183 306.5)
XYZxyz(19.9003, 12.0668, 46.6189)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341B8 #76B841
analogous
#4841B8 #8341B8 #B841B2
triadic
#8341B8 #B88341 #41B883
tetradic
#8341B8 #B84841 #76B841 #41B2B8
square
#8341B8 #B84841 #76B841 #41B2B8
split-complementary
#8341B8 #B2B841 #41B848
monochromatic
#43215E #63318B #8341B8 #A06BCB #BD99DB

Accessibility & contrast

On white

6.15
#8341B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8341B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341B8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341B8#FFFFFF#000000##FFFFFF
##8341B81.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#2662B5
Tritanopia (blue-blind)
#7A5A77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8341b8;
/* rgb */ color: rgb(131, 65, 184);
/* oklch */ color: oklch(51.6% 0.183 306.5);
Tailwind
colors: {
  custom: {
    50: '#ab7ace',
    500: '#8341b8',
    950: '#000000',
  },
}
SCSS
$custom: #8341b8;
$custom-light: #ab7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#8341b8",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 273.277,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.18288,
    "h": 306.5
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#8341B8
secondary
#A7C78E
accent
#D7508D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8341B8

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

Preview Lab → · Contrast checker → · Palette generator →

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