#8343C4#8343C4

#8343C4 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.7% C 0.193 H 303.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8343C4
RGBrgb(131, 67, 196)
HSLhsl(270, 52%, 52%)
HSVhsv(270, 66%, 77%)
CMYKcmyk(33.2%, 65.8%, 0%, 23.1%)
CIE-LABlab(42.50, 51.69, -57.02)
CIE-LCHlch(42.50, 76.97, 312.19°)
OKLaboklab(52.69% 0.1056 -0.162)
OKLCHoklch(52.69% 0.193 303.1)
XYZxyz(21.3287, 12.8251, 53.5657)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8343C4 #84C443
analogous
#4344C4 #8343C4 #C343C4
triadic
#8343C4 #C48343 #43C483
tetradic
#8343C4 #C44344 #84C443 #43C4C3
square
#8343C4 #C44344 #84C443 #43C4C3
split-complementary
#8343C4 #C4C343 #44C443
monochromatic
#46226B #64309A #8343C4 #A272D3 #C0A0E1

Accessibility & contrast

On white

5.89
#8343C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8343C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8343C4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8343C4#FFFFFF#000000##FFFFFF
##8343C41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#1264C1
Tritanopia (blue-blind)
#76607E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8343c4;
/* rgb */ color: rgb(131, 67, 196);
/* oklch */ color: oklch(52.7% 0.193 303.1);
Tailwind
colors: {
  custom: {
    50: '#ac7bd7',
    500: '#8343c4',
    950: '#000000',
  },
}
SCSS
$custom: #8343c4;
$custom-light: #ac7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8343c4",
  "rgb": {
    "r": 131,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 269.767,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.19334,
    "h": 303.1
  },
  "luminance": 0.12825
}

Semantic roles & 50–950 ramp

primary
#8343C4
secondary
#B2CE95
accent
#DC4C94
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8343C4

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

Preview Lab → · Contrast checker → · Palette generator →

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