#8342CE#8342CE

#8342CE is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.206 H 300.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8342CE
RGBrgb(131, 66, 206)
HSLhsl(268, 59%, 53%)
HSVhsv(268, 68%, 81%)
CMYKcmyk(36.4%, 68%, 0%, 19.2%)
CIE-LABlab(43.03, 54.62, -61.96)
CIE-LCHlch(43.03, 82.59, 311.40°)
OKLaboklab(53.29% 0.1055 -0.1765)
OKLCHoklch(53.29% 0.206 300.9)
XYZxyz(22.4462, 13.1778, 59.7416)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8342CE #8DCE42
analogous
#4247CE #8342CE #C942CE
triadic
#8342CE #CE8342 #42CE83
tetradic
#8342CE #CE4247 #8DCE42 #42CEC9
square
#8342CE #CE4247 #8DCE42 #42CEC9
split-complementary
#8342CE #CEC942 #47CE42
monochromatic
#481F77 #652BA7 #8342CE #A373DB #C3A3E7

Accessibility & contrast

On white

5.78
#8342CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8342CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8342CE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8342CE#FFFFFF#000000##FFFFFF
##8342CE1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#736383
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8342ce;
/* rgb */ color: rgb(131, 66, 206);
/* oklch */ color: oklch(53.3% 0.206 300.9);
Tailwind
colors: {
  custom: {
    50: '#ad7bde',
    500: '#8342ce',
    950: '#000000',
  },
}
SCSS
$custom: #8342ce;
$custom-light: #ad7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8342ce",
  "rgb": {
    "r": 131,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 267.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.20558,
    "h": 300.9
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#8342CE
secondary
#B8D498
accent
#E24699
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8342CE

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

Preview Lab → · Contrast checker → · Palette generator →

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