#8428C6#8428C6

#8428C6 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.1% C 0.226 H 305.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8428C6
RGBrgb(132, 40, 198)
HSLhsl(275, 66%, 47%)
HSVhsv(275, 80%, 78%)
CMYKcmyk(33.3%, 79.8%, 0%, 22.4%)
CIE-LABlab(38.73, 63.80, -64.31)
CIE-LCHlch(38.73, 90.58, 314.77°)
OKLaboklab(50.09% 0.132 -0.1832)
OKLCHoklch(50.09% 0.226 305.8)
XYZxyz(20.4653, 10.5005, 54.3638)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428C6 #6AC628
analogous
#3528C6 #8428C6 #C628B9
triadic
#8428C6 #C68428 #28C684
tetradic
#8428C6 #C63528 #6AC628 #28B9C6
square
#8428C6 #C63528 #6AC628 #28B9C6
split-complementary
#8428C6 #B9C628 #28C635
monochromatic
#401360 #621E93 #8428C6 #A150DC #BC83E6

Accessibility & contrast

On white

6.77
#8428C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8428C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8428C6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428C6#FFFFFF#000000##FFFFFF
##8428C61.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#785278
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8428c6;
/* rgb */ color: rgb(132, 40, 198);
/* oklch */ color: oklch(50.1% 0.226 305.8);
Tailwind
colors: {
  custom: {
    50: '#ae6ed8',
    500: '#8428c6',
    950: '#000000',
  },
}
SCSS
$custom: #8428c6;
$custom-light: #ae6ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8428c6",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 198
  },
  "hsl": {
    "h": 274.937,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.22582,
    "h": 305.8
  },
  "luminance": 0.105
}

Semantic roles & 50–950 ramp

primary
#8428C6
secondary
#9ECF7B
accent
#E93E86
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8428C6

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

Preview Lab → · Contrast checker → · Palette generator →

#8428C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva