#8341C0#8341C0

#8341C0 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.192 H 304.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8341C0
RGBrgb(131, 65, 192)
HSLhsl(271, 50%, 50%)
HSVhsv(271, 66%, 75%)
CMYKcmyk(31.8%, 66.1%, 0%, 24.7%)
CIE-LABlab(41.86, 51.72, -55.72)
CIE-LCHlch(41.86, 76.02, 312.87°)
OKLaboklab(52.14% 0.1082 -0.1581)
OKLCHoklch(52.14% 0.192 304.4)
XYZxyz(20.7627, 12.4117, 51.1608)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341C0 #7EC041
analogous
#4341C0 #8341C0 #C041BE
triadic
#8341C0 #C08341 #41C083
tetradic
#8341C0 #C04341 #7EC041 #41BEC0
square
#8341C0 #C04341 #7EC041 #41BEC0
split-complementary
#8341C0 #BEC041 #41C043
monochromatic
#452265 #643193 #8341C0 #A16FCF #BF9DDE

Accessibility & contrast

On white

6.03
#8341C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8341C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341C0
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341C0#FFFFFF#000000##FFFFFF
##8341C01.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#1763BD
Tritanopia (blue-blind)
#785D7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8341c0;
/* rgb */ color: rgb(131, 65, 192);
/* oklch */ color: oklch(52.1% 0.192 304.4);
Tailwind
colors: {
  custom: {
    50: '#ac7ad4',
    500: '#8341c0',
    950: '#000000',
  },
}
SCSS
$custom: #8341c0;
$custom-light: #ac7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#8341c0",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 271.181,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.1916,
    "h": 304.4
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#8341C0
secondary
#ADCB92
accent
#DA4E91
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8341C0

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

Preview Lab → · Contrast checker → · Palette generator →

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