#8341BB#8341BB

#8341BB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.186 H 305.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8341BB
RGBrgb(131, 65, 187)
HSLhsl(272, 48%, 49%)
HSVhsv(272, 65%, 73%)
CMYKcmyk(29.9%, 65.2%, 0%, 26.7%)
CIE-LABlab(41.52, 50.53, -53.35)
CIE-LCHlch(41.52, 73.48, 313.45°)
OKLaboklab(51.79% 0.1087 -0.1511)
OKLCHoklch(51.79% 0.186 305.7)
XYZxyz(20.2181, 12.1939, 48.2926)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341BB #79BB41
analogous
#4641BB #8341BB #BB41B6
triadic
#8341BB #BB8341 #41BB83
tetradic
#8341BB #BB4641 #79BB41 #41B6BB
square
#8341BB #BB4641 #79BB41 #41B6BB
split-complementary
#8341BB #B6BB41 #41BB46
monochromatic
#432160 #63318E #8341BB #A16DCC #BE9ADC

Accessibility & contrast

On white

6.11
#8341BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8341BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341BB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341BB#FFFFFF#000000##FFFFFF
##8341BB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#795B78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8341bb;
/* rgb */ color: rgb(131, 65, 187);
/* oklch */ color: oklch(51.8% 0.186 305.7);
Tailwind
colors: {
  custom: {
    50: '#ab7ad0',
    500: '#8341bb',
    950: '#000000',
  },
}
SCSS
$custom: #8341bb;
$custom-light: #ab7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8341bb",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 272.459,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.18615,
    "h": 305.7
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#8341BB
secondary
#AAC890
accent
#D8508E
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8341BB

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

Preview Lab → · Contrast checker → · Palette generator →

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