#8345AF#8345AF

#8345AF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.167 H 308.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8345AF
RGBrgb(131, 69, 175)
HSLhsl(275, 43%, 48%)
HSVhsv(275, 61%, 69%)
CMYKcmyk(25.1%, 60.6%, 0%, 31.4%)
CIE-LABlab(41.50, 45.67, -46.33)
CIE-LCHlch(41.50, 65.05, 314.59°)
OKLaboklab(51.52% 0.1044 -0.1306)
OKLCHoklch(51.52% 0.167 308.6)
XYZxyz(19.2245, 12.1770, 41.8868)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345AF #71AF45
analogous
#4E45AF #8345AF #AF45A6
triadic
#8345AF #AF8345 #45AF83
tetradic
#8345AF #AF4E45 #71AF45 #45A6AF
square
#8345AF #AF4E45 #71AF45 #45A6AF
split-complementary
#8345AF #A6AF45 #45AF4E
monochromatic
#412257 #623483 #8345AF #A06CC5 #BC98D6

Accessibility & contrast

On white

6.11
#8345AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8345AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8345AF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8345AF#FFFFFF#000000##FFFFFF
##8345AF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#7D5973
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8345af;
/* rgb */ color: rgb(131, 69, 175);
/* oklch */ color: oklch(51.5% 0.167 308.6);
Tailwind
colors: {
  custom: {
    50: '#aa7cc7',
    500: '#8345af',
    950: '#000000',
  },
}
SCSS
$custom: #8345af;
$custom-light: #aa7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8345af",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 275.094,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51522,
    "c": 0.16714,
    "h": 308.6
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#8345AF
secondary
#A3C28D
accent
#D35589
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8345AF

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

Preview Lab → · Contrast checker → · Palette generator →

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