#8348AC#8348AC

#8348AC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.159 H 309.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8348AC
RGBrgb(131, 72, 172)
HSLhsl(275, 41%, 48%)
HSVhsv(275, 58%, 67%)
CMYKcmyk(23.8%, 58.1%, 0%, 32.5%)
CIE-LABlab(41.91, 43.39, -43.90)
CIE-LCHlch(41.91, 61.72, 314.67°)
OKLaboklab(51.76% 0.1004 -0.1235)
OKLCHoklch(51.76% 0.159 309.1)
XYZxyz(19.1224, 12.4389, 40.4153)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348AC #71AC48
analogous
#5148AC #8348AC #AC48A3
triadic
#8348AC #AC8348 #48AC83
tetradic
#8348AC #AC5148 #71AC48 #48A3AC
square
#8348AC #AC5148 #71AC48 #48A3AC
split-complementary
#8348AC #A3AC48 #48AC51
monochromatic
#412456 #623681 #8348AC #A06FC3 #BC9AD5

Accessibility & contrast

On white

6.02
#8348AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8348AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8348AC#FFFFFF#000000##FFFFFF
##8348AC1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#3C64AA
Tritanopia (blue-blind)
#7D5A73
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8348ac;
/* rgb */ color: rgb(131, 72, 172);
/* oklch */ color: oklch(51.8% 0.159 309.1);
Tailwind
colors: {
  custom: {
    50: '#aa7ec5',
    500: '#8348ac',
    950: '#000000',
  },
}
SCSS
$custom: #8348ac;
$custom-light: #aa7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8348ac",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 275.4,
    "s": 40.984,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51762,
    "c": 0.15916,
    "h": 309.1
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#8348AC
secondary
#A3C18F
accent
#D15789
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8348AC

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

Preview Lab → · Contrast checker → · Palette generator →

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