#8345AA#8345AA

#8345AA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.162 H 310.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8345AA
RGBrgb(131, 69, 170)
HSLhsl(277, 42%, 47%)
HSVhsv(277, 59%, 67%)
CMYKcmyk(22.9%, 59.4%, 0%, 33.3%)
CIE-LABlab(41.19, 44.51, -43.85)
CIE-LCHlch(41.19, 62.49, 315.43°)
OKLaboklab(51.2% 0.1043 -0.1233)
OKLCHoklch(51.2% 0.162 310.2)
XYZxyz(18.7425, 11.9842, 39.3483)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8345AA #6CAA45
analogous
#5145AA #8345AA #AA459E
triadic
#8345AA #AA8345 #45AA83
tetradic
#8345AA #AA5145 #6CAA45 #459EAA
square
#8345AA #AA5145 #6CAA45 #459EAA
split-complementary
#8345AA #9EAA45 #45AA51
monochromatic
#402253 #61337E #8345AA #A06AC2 #BC95D4

Accessibility & contrast

On white

6.18
#8345AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8345AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8345AA#FFFFFF#000000##FFFFFF
##8345AA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAD
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#7E5871
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8345aa;
/* rgb */ color: rgb(131, 69, 170);
/* oklch */ color: oklch(51.2% 0.162 310.2);
Tailwind
colors: {
  custom: {
    50: '#aa7cc4',
    500: '#8345aa',
    950: '#000000',
  },
}
SCSS
$custom: #8345aa;
$custom-light: #aa7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8345aa",
  "rgb": {
    "r": 131,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 276.832,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51201,
    "c": 0.16154,
    "h": 310.2
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

primary
#8345AA
secondary
#9FC08B
accent
#D25686
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8345AA

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

Preview Lab → · Contrast checker → · Palette generator →

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