#8348B7#8348B7

#8348B7 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.5% C 0.172 H 305.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8348B7
RGBrgb(131, 72, 183)
HSLhsl(272, 44%, 50%)
HSVhsv(272, 61%, 72%)
CMYKcmyk(28.4%, 60.7%, 0%, 28.2%)
CIE-LABlab(42.58, 45.99, -49.30)
CIE-LCHlch(42.58, 67.42, 313.01°)
OKLaboklab(52.47% 0.1005 -0.1393)
OKLCHoklch(52.47% 0.172 305.8)
XYZxyz(20.2228, 12.8791, 46.2111)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8348B7 #7CB748
analogous
#4C48B7 #8348B7 #B748B3
triadic
#8348B7 #B78348 #48B783
tetradic
#8348B7 #B74C48 #7CB748 #48B3B7
square
#8348B7 #B74C48 #7CB748 #48B3B7
split-complementary
#8348B7 #B3B748 #48B74C
monochromatic
#44255F #64378B #8348B7 #A174C8 #BFA0DA

Accessibility & contrast

On white

5.87
#8348B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8348B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8348B7#FFFFFF#000000##FFFFFF
##8348B71.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1163BB
Deuteranopia (green-blind)
#3165B4
Tritanopia (blue-blind)
#7A5E79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8348b7;
/* rgb */ color: rgb(131, 72, 183);
/* oklch */ color: oklch(52.5% 0.172 305.8);
Tailwind
colors: {
  custom: {
    50: '#aa7ecd',
    500: '#8348b7',
    950: '#000000',
  },
}
SCSS
$custom: #8348b7;
$custom-light: #aa7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#8348b7",
  "rgb": {
    "r": 131,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 271.892,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.52472,
    "c": 0.17175,
    "h": 305.8
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#8348B7
secondary
#ACC695
accent
#D35590
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8348B7

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

Preview Lab → · Contrast checker → · Palette generator →

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