#8341C2#8341C2

#8341C2 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.3% C 0.194 H 303.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8341C2
RGBrgb(131, 65, 194)
HSLhsl(271, 51%, 51%)
HSVhsv(271, 66%, 76%)
CMYKcmyk(32.5%, 66.5%, 0%, 23.9%)
CIE-LABlab(42.00, 52.20, -56.66)
CIE-LCHlch(42.00, 77.04, 312.65°)
OKLaboklab(52.29% 0.108 -0.1609)
OKLCHoklch(52.29% 0.194 303.9)
XYZxyz(20.9858, 12.5010, 52.3358)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341C2 #80C241
analogous
#4341C2 #8341C2 #C241C0
triadic
#8341C2 #C28341 #41C283
tetradic
#8341C2 #C24341 #80C241 #41C0C2
square
#8341C2 #C24341 #80C241 #41C0C2
split-complementary
#8341C2 #C0C241 #41C243
monochromatic
#452167 #643096 #8341C2 #A16FD1 #BF9EE0

Accessibility & contrast

On white

6.00
#8341C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8341C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341C2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341C2#FFFFFF#000000##FFFFFF
##8341C21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#1263BF
Tritanopia (blue-blind)
#775E7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8341c2;
/* rgb */ color: rgb(131, 65, 194);
/* oklch */ color: oklch(52.3% 0.194 303.9);
Tailwind
colors: {
  custom: {
    50: '#ac7ad5',
    500: '#8341c2',
    950: '#000000',
  },
}
SCSS
$custom: #8341c2;
$custom-light: #ac7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#8341c2",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 270.698,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52286,
    "c": 0.19378,
    "h": 303.9
  },
  "luminance": 0.12501
}

Semantic roles & 50–950 ramp

primary
#8341C2
secondary
#AFCC93
accent
#DB4D92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8341C2

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

Preview Lab → · Contrast checker → · Palette generator →

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