#8342C9#8342C9

#8342C9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.200 H 302.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8342C9
RGBrgb(131, 66, 201)
HSLhsl(269, 56%, 52%)
HSVhsv(269, 67%, 79%)
CMYKcmyk(34.8%, 67.2%, 0%, 21.2%)
CIE-LABlab(42.67, 53.40, -59.65)
CIE-LCHlch(42.67, 80.06, 311.83°)
OKLaboklab(52.92% 0.1061 -0.1697)
OKLCHoklch(52.92% 0.2 302)
XYZxyz(21.8484, 12.9387, 56.5934)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8342C9 #88C942
analogous
#4244C9 #8342C9 #C742C9
triadic
#8342C9 #C98342 #42C983
tetradic
#8342C9 #C94244 #88C942 #42C9C7
square
#8342C9 #C94244 #88C942 #42C9C7
split-complementary
#8342C9 #C9C742 #44C942
monochromatic
#472070 #652EA0 #8342C9 #A272D7 #C1A1E4

Accessibility & contrast

On white

5.85
#8342C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8342C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8342C9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8342C9#FFFFFF#000000##FFFFFF
##8342C91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#756180
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8342c9;
/* rgb */ color: rgb(131, 66, 201);
/* oklch */ color: oklch(52.9% 0.200 302.0);
Tailwind
colors: {
  custom: {
    50: '#ac7bda',
    500: '#8342c9',
    950: '#000000',
  },
}
SCSS
$custom: #8342c9;
$custom-light: #ac7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#8342c9",
  "rgb": {
    "r": 131,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 268.889,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.20012,
    "h": 302
  },
  "luminance": 0.12939
}

Semantic roles & 50–950 ramp

primary
#8342C9
secondary
#B4D196
accent
#DF4997
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8342C9

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

Preview Lab → · Contrast checker → · Palette generator →

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