#8341C5#8341C5

#8341C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.197 H 303.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8341C5
RGBrgb(131, 65, 197)
HSLhsl(270, 53%, 51%)
HSVhsv(270, 67%, 77%)
CMYKcmyk(33.5%, 67%, 0%, 22.7%)
CIE-LABlab(42.21, 52.92, -58.07)
CIE-LCHlch(42.21, 78.56, 312.34°)
OKLaboklab(52.5% 0.1077 -0.165)
OKLCHoklch(52.5% 0.197 303.1)
XYZxyz(21.3261, 12.6371, 54.1282)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341C5 #83C541
analogous
#4141C5 #8341C5 #C541C5
triadic
#8341C5 #C58341 #41C583
tetradic
#8341C5 #C54141 #83C541 #41C5C5
square
#8341C5 #C54141 #83C541 #41C5C5
split-complementary
#8341C5 #C5C541 #41C541
monochromatic
#46216B #642F9A #8341C5 #A270D3 #C09FE2

Accessibility & contrast

On white

5.95
#8341C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8341C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341C5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341C5#FFFFFF#000000##FFFFFF
##8341C51.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0563C2
Tritanopia (blue-blind)
#765F7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8341c5;
/* rgb */ color: rgb(131, 65, 197);
/* oklch */ color: oklch(52.5% 0.197 303.1);
Tailwind
colors: {
  custom: {
    50: '#ac7ad7',
    500: '#8341c5',
    950: '#000000',
  },
}
SCSS
$custom: #8341c5;
$custom-light: #ac7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8341c5",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 270,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.19705,
    "h": 303.1
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#8341C5
secondary
#B1CE94
accent
#DD4B94
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8341C5

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

Preview Lab → · Contrast checker → · Palette generator →

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