#8341AC#8341AC

#8341AC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.170 H 310.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8341AC
RGBrgb(131, 65, 172)
HSLhsl(277, 45%, 46%)
HSVhsv(277, 62%, 67%)
CMYKcmyk(23.8%, 62.2%, 0%, 32.5%)
CIE-LABlab(40.55, 47.04, -46.07)
CIE-LCHlch(40.55, 65.84, 315.60°)
OKLaboklab(50.77% 0.1094 -0.1298)
OKLCHoklch(50.77% 0.17 310.1)
XYZxyz(18.6953, 11.5848, 40.2730)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341AC #6AAC41
analogous
#4D41AC #8341AC #AC41A0
triadic
#8341AC #AC8341 #41AC83
tetradic
#8341AC #AC4D41 #6AAC41 #41A0AC
square
#8341AC #AC4D41 #6AAC41 #41A0AC
split-complementary
#8341AC #A0AC41 #41AC4D
monochromatic
#3F1F53 #613080 #8341AC #A065C5 #BC92D6

Accessibility & contrast

On white

6.33
#8341AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8341AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341AC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341AC#FFFFFF#000000##FFFFFF
##8341AC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DAF
Deuteranopia (green-blind)
#3461A9
Tritanopia (blue-blind)
#7E5670
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8341ac;
/* rgb */ color: rgb(131, 65, 172);
/* oklch */ color: oklch(50.8% 0.170 310.1);
Tailwind
colors: {
  custom: {
    50: '#aa79c5',
    500: '#8341ac',
    950: '#000000',
  },
}
SCSS
$custom: #8341ac;
$custom-light: #aa79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8341ac",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 277.009,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50773,
    "c": 0.16977,
    "h": 310.1
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#8341AC
secondary
#9EC188
accent
#D55385
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8341AC

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

Preview Lab → · Contrast checker → · Palette generator →

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