#8341C3#8341C3

#8341C3 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.4% C 0.195 H 303.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8341C3
RGBrgb(131, 65, 195)
HSLhsl(270, 52%, 51%)
HSVhsv(270, 67%, 76%)
CMYKcmyk(32.8%, 66.7%, 0%, 23.5%)
CIE-LABlab(42.07, 52.44, -57.13)
CIE-LCHlch(42.07, 77.55, 312.54°)
OKLaboklab(52.36% 0.1079 -0.1623)
OKLCHoklch(52.36% 0.195 303.6)
XYZxyz(21.0984, 12.5461, 52.9293)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341C3 #81C341
analogous
#4241C3 #8341C3 #C341C2
triadic
#8341C3 #C38341 #41C383
tetradic
#8341C3 #C34241 #81C341 #41C2C3
square
#8341C3 #C34241 #81C341 #41C2C3
split-complementary
#8341C3 #C2C341 #41C342
monochromatic
#452169 #643097 #8341C3 #A170D2 #C09EE0

Accessibility & contrast

On white

5.98
#8341C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8341C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341C3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341C3#FFFFFF#000000##FFFFFF
##8341C31.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)
#0062C7
Deuteranopia (green-blind)
#0E63C0
Tritanopia (blue-blind)
#775E7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8341c3;
/* rgb */ color: rgb(131, 65, 195);
/* oklch */ color: oklch(52.4% 0.195 303.6);
Tailwind
colors: {
  custom: {
    50: '#ac7ad6',
    500: '#8341c3',
    950: '#000000',
  },
}
SCSS
$custom: #8341c3;
$custom-light: #ac7ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#8341c3",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 270.462,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52358,
    "c": 0.19487,
    "h": 303.6
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#8341C3
secondary
#AFCD93
accent
#DB4C93
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8341C3

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

Preview Lab → · Contrast checker → · Palette generator →

#8341C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva