#8341C4#8341C4

#8341C4 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.196 H 303.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8341C4
RGBrgb(131, 65, 196)
HSLhsl(270, 53%, 51%)
HSVhsv(270, 67%, 77%)
CMYKcmyk(33.2%, 66.8%, 0%, 23.1%)
CIE-LABlab(42.14, 52.68, -57.60)
CIE-LCHlch(42.14, 78.06, 312.44°)
OKLaboklab(52.43% 0.1078 -0.1637)
OKLCHoklch(52.43% 0.196 303.4)
XYZxyz(21.2119, 12.5914, 53.5267)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341C4 #82C441
analogous
#4141C4 #8341C4 #C441C3
triadic
#8341C4 #C48341 #41C483
tetradic
#8341C4 #C44141 #82C441 #41C3C4
square
#8341C4 #C44141 #82C441 #41C3C4
split-complementary
#8341C4 #C3C441 #41C441
monochromatic
#46216A #642F98 #8341C4 #A170D3 #C09EE1

Accessibility & contrast

On white

5.97
#8341C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8341C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341C4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341C4#FFFFFF#000000##FFFFFF
##8341C41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0A63C1
Tritanopia (blue-blind)
#765E7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8341c4;
/* rgb */ color: rgb(131, 65, 196);
/* oklch */ color: oklch(52.4% 0.196 303.4);
Tailwind
colors: {
  custom: {
    50: '#ac7ad7',
    500: '#8341c4',
    950: '#000000',
  },
}
SCSS
$custom: #8341c4;
$custom-light: #ac7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8341c4",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 270.229,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5243,
    "c": 0.19596,
    "h": 303.4
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#8341C4
secondary
#B0CD93
accent
#DC4C93
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8341C4

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

Preview Lab → · Contrast checker → · Palette generator →

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