#8341C1#8341C1

#8341C1 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.193 H 304.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8341C1
RGBrgb(131, 65, 193)
HSLhsl(271, 51%, 51%)
HSVhsv(271, 66%, 76%)
CMYKcmyk(32.1%, 66.3%, 0%, 24.3%)
CIE-LABlab(41.93, 51.96, -56.19)
CIE-LCHlch(41.93, 76.53, 312.76°)
OKLaboklab(52.21% 0.1081 -0.1595)
OKLCHoklch(52.21% 0.193 304.1)
XYZxyz(20.8738, 12.4562, 51.7463)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341C1 #7FC141
analogous
#4341C1 #8341C1 #C141BF
triadic
#8341C1 #C18341 #41C183
tetradic
#8341C1 #C14341 #7FC141 #41BFC1
square
#8341C1 #C14341 #7FC141 #41BFC1
split-complementary
#8341C1 #BFC141 #41C143
monochromatic
#452166 #643094 #8341C1 #A16FD0 #BF9DDF

Accessibility & contrast

On white

6.02
#8341C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8341C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341C1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341C1#FFFFFF#000000##FFFFFF
##8341C11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#1563BE
Tritanopia (blue-blind)
#775D7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8341c1;
/* rgb */ color: rgb(131, 65, 193);
/* oklch */ color: oklch(52.2% 0.193 304.1);
Tailwind
colors: {
  custom: {
    50: '#ac7ad4',
    500: '#8341c1',
    950: '#000000',
  },
}
SCSS
$custom: #8341c1;
$custom-light: #ac7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#8341c1",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 270.938,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52214,
    "c": 0.1927,
    "h": 304.1
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#8341C1
secondary
#AECB92
accent
#DA4E92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8341C1

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

Preview Lab → · Contrast checker → · Palette generator →

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