#8345AD#8345AD

#8345AD is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.165 H 309.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8345AD
RGBrgb(131, 69, 173)
HSLhsl(276, 43%, 47%)
HSVhsv(276, 60%, 68%)
CMYKcmyk(24.3%, 60.1%, 0%, 32.2%)
CIE-LABlab(41.37, 45.21, -45.34)
CIE-LCHlch(41.37, 64.03, 314.92°)
OKLaboklab(51.39% 0.1044 -0.1277)
OKLCHoklch(51.39% 0.165 309.3)
XYZxyz(19.0295, 12.0990, 40.8599)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345AD #6FAD45
analogous
#4F45AD #8345AD #AD45A3
triadic
#8345AD #AD8345 #45AD83
tetradic
#8345AD #AD4F45 #6FAD45 #45A3AD
square
#8345AD #AD4F45 #6FAD45 #45A3AD
split-complementary
#8345AD #A3AD45 #45AD4F
monochromatic
#412255 #623481 #8345AD #A06BC4 #BC97D5

Accessibility & contrast

On white

6.14
#8345AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8345AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345AD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345AD#FFFFFF#000000##FFFFFF
##8345AD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5FB0
Deuteranopia (green-blind)
#3862AB
Tritanopia (blue-blind)
#7D5972
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8345ad;
/* rgb */ color: rgb(131, 69, 173);
/* oklch */ color: oklch(51.4% 0.165 309.3);
Tailwind
colors: {
  custom: {
    50: '#aa7cc6',
    500: '#8345ad',
    950: '#000000',
  },
}
SCSS
$custom: #8345ad;
$custom-light: #aa7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8345ad",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 275.769,
    "s": 42.975,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.1649,
    "h": 309.3
  },
  "luminance": 0.12099
}

Semantic roles & 50–950 ramp

primary
#8345AD
secondary
#A2C18C
accent
#D35588
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8345AD

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

Preview Lab → · Contrast checker → · Palette generator →

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