#8341D9#8341D9

#8341D9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.219 H 298.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8341D9
RGBrgb(131, 65, 217)
HSLhsl(266, 67%, 55%)
HSVhsv(266, 70%, 85%)
CMYKcmyk(39.6%, 70%, 0%, 14.9%)
CIE-LABlab(43.68, 57.80, -67.23)
CIE-LCHlch(43.68, 88.66, 310.69°)
OKLaboklab(54.01% 0.1047 -0.192)
OKLCHoklch(54.01% 0.219 298.6)
XYZxyz(23.7716, 13.6153, 67.0078)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341D9 #97D941
analogous
#414BD9 #8341D9 #CF41D9
triadic
#8341D9 #D98341 #41D983
tetradic
#8341D9 #D9414B #97D941 #41D9CF
square
#8341D9 #D9414B #97D941 #41D9CF
split-complementary
#8341D9 #D9CF41 #4BD941
monochromatic
#491B85 #6525B8 #8341D9 #A474E3 #C6A7ED

Accessibility & contrast

On white

5.64
#8341D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8341D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341D9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341D9#FFFFFF#000000##FFFFFF
##8341D91.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#6E6689
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8341d9;
/* rgb */ color: rgb(131, 65, 217);
/* oklch */ color: oklch(54.0% 0.219 298.6);
Tailwind
colors: {
  custom: {
    50: '#ae7be6',
    500: '#8341d9',
    950: '#000000',
  },
}
SCSS
$custom: #8341d9;
$custom-light: #ae7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8341d9",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 266.053,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.21866,
    "h": 298.6
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#8341D9
secondary
#BFDB9B
accent
#EA3E9F
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8341D9

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

Preview Lab → · Contrast checker → · Palette generator →

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