#8348AA#8348AA

#8348AA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.157 H 309.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8348AA
RGBrgb(131, 72, 170)
HSLhsl(276, 40%, 47%)
HSVhsv(276, 58%, 67%)
CMYKcmyk(22.9%, 57.6%, 0%, 33.3%)
CIE-LABlab(41.79, 42.92, -42.90)
CIE-LCHlch(41.79, 60.69, 315.01°)
OKLaboklab(51.64% 0.1004 -0.1205)
OKLCHoklch(51.64% 0.157 309.8)
XYZxyz(18.9317, 12.3626, 39.4113)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348AA #6FAA48
analogous
#5248AA #8348AA #AA48A0
triadic
#8348AA #AA8348 #48AA83
tetradic
#8348AA #AA5248 #6FAA48 #48A0AA
square
#8348AA #AA5248 #6FAA48 #48A0AA
split-complementary
#8348AA #A0AA48 #48AA52
monochromatic
#412454 #62367F #8348AA #A06EC1 #BC99D4

Accessibility & contrast

On white

6.05
#8348AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8348AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8348AA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8348AA#FFFFFF#000000##FFFFFF
##8348AA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#3E64A8
Tritanopia (blue-blind)
#7E5A72
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8348aa;
/* rgb */ color: rgb(131, 72, 170);
/* oklch */ color: oklch(51.6% 0.157 309.8);
Tailwind
colors: {
  custom: {
    50: '#aa7ec4',
    500: '#8348aa',
    950: '#000000',
  },
}
SCSS
$custom: #8348aa;
$custom-light: #aa7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#8348aa",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 276.122,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51637,
    "c": 0.15688,
    "h": 309.8
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#8348AA
secondary
#A2C08E
accent
#D05788
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8348AA

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

Preview Lab → · Contrast checker → · Palette generator →

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