#8341E5#8341E5

#8341E5 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.231 H 296.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8341E5
RGBrgb(131, 65, 229)
HSLhsl(264, 76%, 58%)
HSVhsv(264, 72%, 90%)
CMYKcmyk(42.8%, 71.6%, 0%, 10.2%)
CIE-LABlab(44.61, 60.78, -72.55)
CIE-LCHlch(44.61, 94.64, 309.95°)
OKLaboklab(54.96% 0.1024 -0.2076)
OKLCHoklch(54.96% 0.231 296.3)
XYZxyz(25.3895, 14.2625, 75.5288)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341E5 #A3E541
analogous
#4151E5 #8341E5 #D541E5
triadic
#8341E5 #E58341 #41E583
tetradic
#8341E5 #E54151 #A3E541 #41E5D5
square
#8341E5 #E54151 #A3E541 #41E5D5
split-complementary
#8341E5 #E5D541 #51E541
monochromatic
#491597 #631CCD #8341E5 #A677EC #C9ADF4

Accessibility & contrast

On white

5.45
#8341E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8341E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341E5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341E5#FFFFFF#000000##FFFFFF
##8341E51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0067E2
Tritanopia (blue-blind)
#696B8F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8341e5;
/* rgb */ color: rgb(131, 65, 229);
/* oklch */ color: oklch(55.0% 0.231 296.3);
Tailwind
colors: {
  custom: {
    50: '#af7bee',
    500: '#8341e5',
    950: '#000000',
  },
}
SCSS
$custom: #8341e5;
$custom-light: #af7bee;
$custom-dark: #000000;
JSON
{
  "hex": "#8341e5",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 229
  },
  "hsl": {
    "h": 264.146,
    "s": 75.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.23148,
    "h": 296.3
  },
  "luminance": 0.14263
}

Semantic roles & 50–950 ramp

primary
#8341E5
secondary
#C7E2A0
accent
#F335A6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #8341E5

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

Preview Lab → · Contrast checker → · Palette generator →

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