#8345A6#8345A6

#8345A6 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.157 H 311.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8345A6
RGBrgb(131, 69, 166)
HSLhsl(278, 41%, 46%)
HSVhsv(278, 58%, 65%)
CMYKcmyk(21.1%, 58.4%, 0%, 34.9%)
CIE-LABlab(40.95, 43.60, -41.85)
CIE-LCHlch(40.95, 60.44, 316.17°)
OKLaboklab(50.95% 0.1043 -0.1175)
OKLCHoklch(50.95% 0.157 311.6)
XYZxyz(18.3699, 11.8351, 37.3857)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345A6 #68A645
analogous
#5245A6 #8345A6 #A64598
triadic
#8345A6 #A68345 #45A683
tetradic
#8345A6 #A65245 #68A645 #4598A6
square
#8345A6 #A65245 #68A645 #4598A6
split-complementary
#8345A6 #98A645 #45A652
monochromatic
#3F2150 #61337B #8345A6 #A068C0 #BB93D2

Accessibility & contrast

On white

6.24
#8345A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8345A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345A6
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345A6#FFFFFF#000000##FFFFFF
##8345A61.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA9
Deuteranopia (green-blind)
#3E62A4
Tritanopia (blue-blind)
#7F566F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8345a6;
/* rgb */ color: rgb(131, 69, 166);
/* oklch */ color: oklch(51.0% 0.157 311.6);
Tailwind
colors: {
  custom: {
    50: '#aa7cc1',
    500: '#8345a6',
    950: '#000000',
  },
}
SCSS
$custom: #8345a6;
$custom-light: #aa7cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8345a6",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 278.351,
    "s": 41.277,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.15706,
    "h": 311.6
  },
  "luminance": 0.11835
}

Semantic roles & 50–950 ramp

primary
#8345A6
secondary
#9CBE89
accent
#D15783
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #8345A6

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

Preview Lab → · Contrast checker → · Palette generator →

#8345A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva