#8341BD#8341BD

#8341BD is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.188 H 305.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8341BD
RGBrgb(131, 65, 189)
HSLhsl(272, 49%, 50%)
HSVhsv(272, 66%, 74%)
CMYKcmyk(30.7%, 65.6%, 0%, 25.9%)
CIE-LABlab(41.66, 51.00, -54.30)
CIE-LCHlch(41.66, 74.50, 313.21°)
OKLaboklab(51.93% 0.1085 -0.1539)
OKLCHoklch(51.93% 0.188 305.2)
XYZxyz(20.4337, 12.2801, 49.4281)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341BD #7BBD41
analogous
#4541BD #8341BD #BD41B9
triadic
#8341BD #BD8341 #41BD83
tetradic
#8341BD #BD4541 #7BBD41 #41B9BD
square
#8341BD #BD4541 #7BBD41 #41B9BD
split-complementary
#8341BD #B9BD41 #41BD45
monochromatic
#442262 #63318F #8341BD #A16ECD #BE9CDD

Accessibility & contrast

On white

6.08
#8341BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8341BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341BD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341BD#FFFFFF#000000##FFFFFF
##8341BD1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#1E62BA
Tritanopia (blue-blind)
#795C79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8341bd;
/* rgb */ color: rgb(131, 65, 189);
/* oklch */ color: oklch(51.9% 0.188 305.2);
Tailwind
colors: {
  custom: {
    50: '#ab7ad2',
    500: '#8341bd',
    950: '#000000',
  },
}
SCSS
$custom: #8341bd;
$custom-light: #ab7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8341bd",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 271.935,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.18833,
    "h": 305.2
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#8341BD
secondary
#ABC991
accent
#D84F8F
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8341BD

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

Preview Lab → · Contrast checker → · Palette generator →

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