#8343B2#8343B2

#8343B2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.173 H 308.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8343B2
RGBrgb(131, 67, 178)
HSLhsl(275, 45%, 48%)
HSVhsv(275, 62%, 70%)
CMYKcmyk(26.4%, 62.4%, 0%, 30.2%)
CIE-LABlab(41.30, 47.41, -48.41)
CIE-LCHlch(41.30, 67.76, 314.40°)
OKLaboklab(51.44% 0.1068 -0.1367)
OKLCHoklch(51.44% 0.173 308)
XYZxyz(19.4015, 12.0542, 43.4155)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8343B2 #72B243
analogous
#4C43B2 #8343B2 #B243A9
triadic
#8343B2 #B28343 #43B283
tetradic
#8343B2 #B24C43 #72B243 #43A9B2
square
#8343B2 #B24C43 #72B243 #43A9B2
split-complementary
#8343B2 #A9B243 #43B24C
monochromatic
#422259 #623286 #8343B2 #A06BC7 #BD97D8

Accessibility & contrast

On white

6.16
#8343B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8343B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8343B2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8343B2#FFFFFF#000000##FFFFFF
##8343B21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085FB5
Deuteranopia (green-blind)
#3162AF
Tritanopia (blue-blind)
#7C5974
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8343b2;
/* rgb */ color: rgb(131, 67, 178);
/* oklch */ color: oklch(51.4% 0.173 308.0);
Tailwind
colors: {
  custom: {
    50: '#aa7bca',
    500: '#8343b2',
    950: '#000000',
  },
}
SCSS
$custom: #8343b2;
$custom-light: #aa7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#8343b2",
  "rgb": {
    "r": 131,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 274.595,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51441,
    "c": 0.17344,
    "h": 308
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#8343B2
secondary
#A4C48D
accent
#D5538A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8343B2

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

Preview Lab → · Contrast checker → · Palette generator →

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