#8343C2#8343C2

#8343C2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.191 H 303.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8343C2
RGBrgb(131, 67, 194)
HSLhsl(270, 51%, 51%)
HSVhsv(270, 65%, 76%)
CMYKcmyk(32.5%, 65.5%, 0%, 23.9%)
CIE-LABlab(42.36, 51.21, -56.08)
CIE-LCHlch(42.36, 75.94, 312.40°)
OKLaboklab(52.54% 0.1058 -0.1592)
OKLCHoklch(52.54% 0.191 303.6)
XYZxyz(21.1026, 12.7347, 52.3748)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8343C2 #82C243
analogous
#4343C2 #8343C2 #C243C1
triadic
#8343C2 #C28343 #43C283
tetradic
#8343C2 #C24343 #82C243 #43C1C2
square
#8343C2 #C24343 #82C243 #43C1C2
split-complementary
#8343C2 #C1C243 #43C243
monochromatic
#462269 #643197 #8343C2 #A171D1 #C09FE0

Accessibility & contrast

On white

5.92
#8343C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8343C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8343C2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8343C2#FFFFFF#000000##FFFFFF
##8343C21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#1764BF
Tritanopia (blue-blind)
#775F7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8343c2;
/* rgb */ color: rgb(131, 67, 194);
/* oklch */ color: oklch(52.5% 0.191 303.6);
Tailwind
colors: {
  custom: {
    50: '#ac7bd5',
    500: '#8343c2',
    950: '#000000',
  },
}
SCSS
$custom: #8343c2;
$custom-light: #ac7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8343c2",
  "rgb": {
    "r": 131,
    "g": 67,
    "b": 194
  },
  "hsl": {
    "h": 270.236,
    "s": 51.004,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.19113,
    "h": 303.6
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

primary
#8343C2
secondary
#B0CC94
accent
#DA4D93
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8343C2

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

Preview Lab → · Contrast checker → · Palette generator →

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