#8347B2#8347B2

#8347B2 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.168 H 307.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8347B2
RGBrgb(131, 71, 178)
HSLhsl(274, 43%, 49%)
HSVhsv(274, 60%, 70%)
CMYKcmyk(26.4%, 60.1%, 0%, 30.2%)
CIE-LABlab(42.07, 45.33, -47.17)
CIE-LCHlch(42.07, 65.42, 313.86°)
OKLaboklab(52% 0.1018 -0.1331)
OKLCHoklch(52% 0.168 307.4)
XYZxyz(19.6475, 12.5464, 43.4975)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8347B2 #76B247
analogous
#4E47B2 #8347B2 #B247AC
triadic
#8347B2 #B28347 #47B283
tetradic
#8347B2 #B24E47 #76B247 #47ACB2
square
#8347B2 #B24E47 #76B247 #47ACB2
split-complementary
#8347B2 #ACB247 #47B24E
monochromatic
#43245B #633686 #8347B2 #A070C6 #BD9CD7

Accessibility & contrast

On white

5.98
#8347B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8347B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8347B2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8347B2#FFFFFF#000000##FFFFFF
##8347B21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#3564AF
Tritanopia (blue-blind)
#7C5C76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8347b2;
/* rgb */ color: rgb(131, 71, 178);
/* oklch */ color: oklch(52.0% 0.168 307.4);
Tailwind
colors: {
  custom: {
    50: '#aa7dca',
    500: '#8347b2',
    950: '#000000',
  },
}
SCSS
$custom: #8347b2;
$custom-light: #aa7dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8347b2",
  "rgb": {
    "r": 131,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 273.645,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52001,
    "c": 0.16752,
    "h": 307.4
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#8347B2
secondary
#A7C491
accent
#D3558C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8347B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8347B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva