#8341B2#8341B2

#8341B2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.176 H 308.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8341B2
RGBrgb(131, 65, 178)
HSLhsl(275, 47%, 48%)
HSVhsv(275, 63%, 70%)
CMYKcmyk(26.4%, 63.5%, 0%, 30.2%)
CIE-LABlab(40.93, 48.42, -49.01)
CIE-LCHlch(40.93, 68.89, 314.65°)
OKLaboklab(51.17% 0.1092 -0.1384)
OKLCHoklch(51.17% 0.176 308.3)
XYZxyz(19.2846, 11.8205, 43.3765)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341B2 #70B241
analogous
#4A41B2 #8341B2 #B241A9
triadic
#8341B2 #B28341 #41B283
tetradic
#8341B2 #B24A41 #70B241 #41A9B2
square
#8341B2 #B24A41 #70B241 #41A9B2
split-complementary
#8341B2 #A9B241 #41B24A
monochromatic
#412058 #623185 #8341B2 #A068C8 #BC95D8

Accessibility & contrast

On white

6.24
#8341B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8341B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341B2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341B2#FFFFFF#000000##FFFFFF
##8341B21.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#2E61AF
Tritanopia (blue-blind)
#7C5873
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8341b2;
/* rgb */ color: rgb(131, 65, 178);
/* oklch */ color: oklch(51.2% 0.176 308.3);
Tailwind
colors: {
  custom: {
    50: '#ab7aca',
    500: '#8341b2',
    950: '#000000',
  },
}
SCSS
$custom: #8341b2;
$custom-light: #ab7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#8341b2",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 275.044,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.17631,
    "h": 308.3
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#8341B2
secondary
#A3C48B
accent
#D65289
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8341B2

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

Preview Lab → · Contrast checker → · Palette generator →

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