#8341D4#8341D4

#8341D4 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.213 H 299.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8341D4
RGBrgb(131, 65, 212)
HSLhsl(267, 63%, 54%)
HSVhsv(267, 69%, 83%)
CMYKcmyk(38.2%, 69.3%, 0%, 16.9%)
CIE-LABlab(43.30, 56.57, -64.97)
CIE-LCHlch(43.30, 86.15, 311.04°)
OKLaboklab(53.62% 0.1056 -0.1853)
OKLCHoklch(53.62% 0.213 299.7)
XYZxyz(23.1311, 13.3591, 63.6345)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8341D4 #92D441
analogous
#4149D4 #8341D4 #CD41D4
triadic
#8341D4 #D48341 #41D483
tetradic
#8341D4 #D44149 #92D441 #41D4CD
square
#8341D4 #D44149 #92D441 #41D4CD
split-complementary
#8341D4 #D4CD41 #49D441
monochromatic
#481D7E #6528B0 #8341D4 #A473DF #C4A5EB

Accessibility & contrast

On white

5.72
#8341D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8341D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8341D4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8341D4#FFFFFF#000000##FFFFFF
##8341D41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#706486
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8341d4;
/* rgb */ color: rgb(131, 65, 212);
/* oklch */ color: oklch(53.6% 0.213 299.7);
Tailwind
colors: {
  custom: {
    50: '#ad7be2',
    500: '#8341d4',
    950: '#000000',
  },
}
SCSS
$custom: #8341d4;
$custom-light: #ad7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#8341d4",
  "rgb": {
    "r": 131,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 266.939,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.21328,
    "h": 299.7
  },
  "luminance": 0.13359
}

Semantic roles & 50–950 ramp

primary
#8341D4
secondary
#BCD899
accent
#E6429C
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8341D4

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

Preview Lab → · Contrast checker → · Palette generator →

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