#8341A2#8341A2

#8341A2 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.1% C 0.159 H 313.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8341A2
RGBrgb(131, 65, 162)
HSLhsl(281, 43%, 45%)
HSVhsv(281, 60%, 64%)
CMYKcmyk(19.1%, 59.9%, 0%, 36.5%)
CIE-LABlab(39.94, 44.79, -41.08)
CIE-LCHlch(39.94, 60.77, 317.47°)
OKLaboklab(50.14% 0.1094 -0.1152)
OKLCHoklch(50.14% 0.159 313.5)
XYZxyz(17.7709, 11.2150, 35.4040)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341A2 #60A241
analogous
#5341A2 #8341A2 #A24191
triadic
#8341A2 #A28341 #41A283
tetradic
#8341A2 #A25341 #60A241 #4191A2
square
#8341A2 #A25341 #60A241 #4191A2
split-complementary
#8341A2 #91A241 #41A253
monochromatic
#3C1E4B #602F76 #8341A2 #A161BF #BB8CD1

Accessibility & contrast

On white

6.48
#8341A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8341A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341A2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341A2#FFFFFF#000000##FFFFFF
##8341A21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#3D60A0
Tritanopia (blue-blind)
#80526B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8341a2;
/* rgb */ color: rgb(131, 65, 162);
/* oklch */ color: oklch(50.1% 0.159 313.5);
Tailwind
colors: {
  custom: {
    50: '#aa79be',
    500: '#8341a2',
    950: '#000000',
  },
}
SCSS
$custom: #8341a2;
$custom-light: #aa79be;
$custom-dark: #000000;
JSON
{
  "hex": "#8341a2",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 280.825,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.15888,
    "h": 313.5
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#8341A2
secondary
#95BC83
accent
#D3557D
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #8341A2

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

Preview Lab → · Contrast checker → · Palette generator →

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