#8343C5#8343C5

#8343C5 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.194 H 302.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8343C5
RGBrgb(131, 67, 197)
HSLhsl(270, 53%, 52%)
HSVhsv(270, 66%, 77%)
CMYKcmyk(33.5%, 66%, 0%, 22.7%)
CIE-LABlab(42.57, 51.93, -57.49)
CIE-LCHlch(42.57, 77.48, 312.09°)
OKLaboklab(52.76% 0.1055 -0.1633)
OKLCHoklch(52.76% 0.194 302.8)
XYZxyz(21.4429, 12.8708, 54.1671)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8343C5 #85C543
analogous
#4344C5 #8343C5 #C443C5
triadic
#8343C5 #C58343 #43C583
tetradic
#8343C5 #C54344 #85C543 #43C5C4
square
#8343C5 #C54344 #85C543 #43C5C4
split-complementary
#8343C5 #C5C443 #44C543
monochromatic
#46216C #65309B #8343C5 #A272D3 #C1A1E2

Accessibility & contrast

On white

5.88
#8343C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8343C5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8343C5#FFFFFF#000000##FFFFFF
##8343C51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0E64C2
Tritanopia (blue-blind)
#76607E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8343c5;
/* rgb */ color: rgb(131, 67, 197);
/* oklch */ color: oklch(52.8% 0.194 302.8);
Tailwind
colors: {
  custom: {
    50: '#ac7bd7',
    500: '#8343c5',
    950: '#000000',
  },
}
SCSS
$custom: #8343c5;
$custom-light: #ac7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8343c5",
  "rgb": {
    "r": 131,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 269.538,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52759,
    "c": 0.19444,
    "h": 302.8
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8343C5

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

Preview Lab → · Contrast checker → · Palette generator →

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