#8341BA#8341BA

#8341BA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.185 H 306.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8341BA
RGBrgb(131, 65, 186)
HSLhsl(273, 48%, 49%)
HSVhsv(273, 65%, 73%)
CMYKcmyk(29.6%, 65.1%, 0%, 27.1%)
CIE-LABlab(41.46, 50.29, -52.87)
CIE-LCHlch(41.46, 72.97, 313.57°)
OKLaboklab(51.72% 0.1087 -0.1497)
OKLCHoklch(51.72% 0.185 306)
XYZxyz(20.1114, 12.1512, 47.7308)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341BA #78BA41
analogous
#4741BA #8341BA #BA41B5
triadic
#8341BA #BA8341 #41BA83
tetradic
#8341BA #BA4741 #78BA41 #41B5BA
square
#8341BA #BA4741 #78BA41 #41B5BA
split-complementary
#8341BA #B5BA41 #41BA47
monochromatic
#43215F #63318D #8341BA #A06CCC #BE9ADC

Accessibility & contrast

On white

6.12
#8341BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8341BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341BA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341BA#FFFFFF#000000##FFFFFF
##8341BA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#2362B7
Tritanopia (blue-blind)
#7A5B78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8341ba;
/* rgb */ color: rgb(131, 65, 186);
/* oklch */ color: oklch(51.7% 0.185 306.0);
Tailwind
colors: {
  custom: {
    50: '#ab7acf',
    500: '#8341ba',
    950: '#000000',
  },
}
SCSS
$custom: #8341ba;
$custom-light: #ab7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#8341ba",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 272.727,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51719,
    "c": 0.18506,
    "h": 306
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8341BA

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

Preview Lab → · Contrast checker → · Palette generator →

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