#8342CF#8342CF

#8342CF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.207 H 300.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8342CF
RGBrgb(131, 66, 207)
HSLhsl(268, 59%, 54%)
HSVhsv(268, 68%, 81%)
CMYKcmyk(36.7%, 68.1%, 0%, 18.8%)
CIE-LABlab(43.10, 54.86, -62.42)
CIE-LCHlch(43.10, 83.10, 311.31°)
OKLaboklab(53.37% 0.1053 -0.1778)
OKLCHoklch(53.37% 0.207 300.6)
XYZxyz(22.5680, 13.2266, 60.3834)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8342CF #8ECF42
analogous
#4247CF #8342CF #CA42CF
triadic
#8342CF #CF8342 #42CF83
tetradic
#8342CF #CF4247 #8ECF42 #42CFCA
square
#8342CF #CF4247 #8ECF42 #42CFCA
split-complementary
#8342CF #CFCA42 #47CF42
monochromatic
#481F78 #652BA9 #8342CF #A373DB #C3A4E8

Accessibility & contrast

On white

5.76
#8342CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8342CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8342CF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8342CF#FFFFFF#000000##FFFFFF
##8342CF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#726383
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8342cf;
/* rgb */ color: rgb(131, 66, 207);
/* oklch */ color: oklch(53.4% 0.207 300.6);
Tailwind
colors: {
  custom: {
    50: '#ad7bdf',
    500: '#8342cf',
    950: '#000000',
  },
}
SCSS
$custom: #8342cf;
$custom-light: #ad7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8342cf",
  "rgb": {
    "r": 131,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 267.66,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.20666,
    "h": 300.6
  },
  "luminance": 0.13227
}

Semantic roles & 50–950 ramp

primary
#8342CF
secondary
#B9D598
accent
#E3459A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8342CF

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

Preview Lab → · Contrast checker → · Palette generator →

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