#8342AA#8342AA

#8342AA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.166 H 310.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8342AA
RGBrgb(131, 66, 170)
HSLhsl(278, 44%, 46%)
HSVhsv(278, 61%, 67%)
CMYKcmyk(22.9%, 61.2%, 0%, 33.3%)
CIE-LABlab(40.61, 46.07, -44.78)
CIE-LCHlch(40.61, 64.25, 315.82°)
OKLaboklab(50.78% 0.1082 -0.126)
OKLCHoklch(50.78% 0.166 310.7)
XYZxyz(18.5626, 11.6244, 39.2883)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8342AA #69AA42
analogous
#4F42AA #8342AA #AA429D
triadic
#8342AA #AA8342 #42AA83
tetradic
#8342AA #AA4F42 #69AA42 #429DAA
square
#8342AA #AA4F42 #69AA42 #429DAA
split-complementary
#8342AA #9DAA42 #42AA4F
monochromatic
#3F2052 #61317E #8342AA #A066C3 #BC92D5

Accessibility & contrast

On white

6.32
#8342AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8342AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8342AA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8342AA#FFFFFF#000000##FFFFFF
##8342AA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#3761A8
Tritanopia (blue-blind)
#7E5670
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8342aa;
/* rgb */ color: rgb(131, 66, 170);
/* oklch */ color: oklch(50.8% 0.166 310.7);
Tailwind
colors: {
  custom: {
    50: '#aa7ac4',
    500: '#8342aa',
    950: '#000000',
  },
}
SCSS
$custom: #8342aa;
$custom-light: #aa7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8342aa",
  "rgb": {
    "r": 131,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 277.5,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.16609,
    "h": 310.7
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#8342AA
secondary
#9DC088
accent
#D45484
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8342AA

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

Preview Lab → · Contrast checker → · Palette generator →

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