#8341D1#8341D1

#8341D1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.210 H 300.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8341D1
RGBrgb(131, 65, 209)
HSLhsl(268, 61%, 54%)
HSVhsv(268, 69%, 82%)
CMYKcmyk(37.3%, 68.9%, 0%, 18%)
CIE-LABlab(43.08, 55.83, -63.61)
CIE-LCHlch(43.08, 84.64, 311.27°)
OKLaboklab(53.39% 0.106 -0.1813)
OKLCHoklch(53.39% 0.21 300.3)
XYZxyz(22.7562, 13.2091, 61.6600)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341D1 #8FD141
analogous
#4147D1 #8341D1 #CB41D1
triadic
#8341D1 #D18341 #41D183
tetradic
#8341D1 #D14147 #8FD141 #41D1CB
square
#8341D1 #D14147 #8FD141 #41D1CB
split-complementary
#8341D1 #D1CB41 #47D141
monochromatic
#481E7A #6529AB #8341D1 #A372DD #C3A4E9

Accessibility & contrast

On white

5.77
#8341D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8341D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341D1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341D1#FFFFFF#000000##FFFFFF
##8341D11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#726384
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8341d1;
/* rgb */ color: rgb(131, 65, 209);
/* oklch */ color: oklch(53.4% 0.210 300.3);
Tailwind
colors: {
  custom: {
    50: '#ad7ae0',
    500: '#8341d1',
    950: '#000000',
  },
}
SCSS
$custom: #8341d1;
$custom-light: #ad7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#8341d1",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 267.5,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53394,
    "c": 0.21005,
    "h": 300.3
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#8341D1
secondary
#B9D698
accent
#E4449B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8341D1

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

Preview Lab → · Contrast checker → · Palette generator →

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