#8342D0#8342D0

#8342D0 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.208 H 300.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8342D0
RGBrgb(131, 66, 208)
HSLhsl(267, 60%, 54%)
HSVhsv(267, 68%, 82%)
CMYKcmyk(37%, 68.3%, 0%, 18.4%)
CIE-LABlab(43.18, 55.11, -62.87)
CIE-LCHlch(43.18, 83.61, 311.23°)
OKLaboklab(53.44% 0.1052 -0.1792)
OKLCHoklch(53.44% 0.208 300.4)
XYZxyz(22.6907, 13.2756, 61.0293)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8342D0 #8FD042
analogous
#4248D0 #8342D0 #CA42D0
triadic
#8342D0 #D08342 #42D083
tetradic
#8342D0 #D04248 #8FD042 #42D0CA
square
#8342D0 #D04248 #8FD042 #42D0CA
split-complementary
#8342D0 #D0CA42 #48D042
monochromatic
#481E79 #652AAA #8342D0 #A373DC #C3A4E8

Accessibility & contrast

On white

5.75
#8342D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8342D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8342D0
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8342D0#FFFFFF#000000##FFFFFF
##8342D01.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#726384
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8342d0;
/* rgb */ color: rgb(131, 66, 208);
/* oklch */ color: oklch(53.4% 0.208 300.4);
Tailwind
colors: {
  custom: {
    50: '#ad7bdf',
    500: '#8342d0',
    950: '#000000',
  },
}
SCSS
$custom: #8342d0;
$custom-light: #ad7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8342d0",
  "rgb": {
    "r": 131,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 267.465,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.20774,
    "h": 300.4
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

primary
#8342D0
secondary
#B9D599
accent
#E3449B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8342D0

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

Preview Lab → · Contrast checker → · Palette generator →

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