#8342D9#8342D9

#8342D9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.1% C 0.217 H 298.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8342D9
RGBrgb(131, 66, 217)
HSLhsl(266, 67%, 55%)
HSVhsv(266, 70%, 85%)
CMYKcmyk(39.6%, 69.6%, 0%, 14.9%)
CIE-LABlab(43.84, 57.33, -66.95)
CIE-LCHlch(43.84, 88.14, 310.57°)
OKLaboklab(54.13% 0.1038 -0.1912)
OKLCHoklch(54.13% 0.218 298.5)
XYZxyz(23.8295, 13.7311, 67.0271)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8342D9 #98D942
analogous
#424CD9 #8342D9 #CF42D9
triadic
#8342D9 #D98342 #42D983
tetradic
#8342D9 #D9424C #98D942 #42D9CF
square
#8342D9 #D9424C #98D942 #42D9CF
split-complementary
#8342D9 #D9CF42 #4CD942
monochromatic
#491B86 #6525B9 #8342D9 #A475E3 #C6A8ED

Accessibility & contrast

On white

5.61
#8342D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8342D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8342D9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8342D9#FFFFFF#000000##FFFFFF
##8342D91.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#6E6789
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8342d9;
/* rgb */ color: rgb(131, 66, 217);
/* oklch */ color: oklch(54.1% 0.217 298.5);
Tailwind
colors: {
  custom: {
    50: '#ae7be6',
    500: '#8342d9',
    950: '#000000',
  },
}
SCSS
$custom: #8342d9;
$custom-light: #ae7be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8342d9",
  "rgb": {
    "r": 131,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 265.828,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.2175,
    "h": 298.5
  },
  "luminance": 0.13731
}

Semantic roles & 50–950 ramp

primary
#8342D9
secondary
#C0DB9C
accent
#E93EA0
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8342D9

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

Preview Lab → · Contrast checker → · Palette generator →

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