#8428C5#8428C5

#8428C5 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.0% C 0.225 H 306.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8428C5
RGBrgb(132, 40, 197)
HSLhsl(275, 66%, 46%)
HSVhsv(275, 80%, 77%)
CMYKcmyk(33%, 79.7%, 0%, 22.7%)
CIE-LABlab(38.65, 63.58, -63.86)
CIE-LCHlch(38.65, 90.11, 314.88°)
OKLaboklab(50.01% 0.1323 -0.1819)
OKLCHoklch(50.01% 0.225 306)
XYZxyz(20.3503, 10.4545, 53.7583)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428C5 #69C528
analogous
#3528C5 #8428C5 #C528B8
triadic
#8428C5 #C58428 #28C584
tetradic
#8428C5 #C53528 #69C528 #28B8C5
square
#8428C5 #C53528 #69C528 #28B8C5
split-complementary
#8428C5 #B8C528 #28C535
monochromatic
#40135F #621E92 #8428C5 #A14FDB #BC82E6

Accessibility & contrast

On white

6.79
#8428C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8428C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8428C5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428C5#FFFFFF#000000##FFFFFF
##8428C51.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#785277
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8428c5;
/* rgb */ color: rgb(132, 40, 197);
/* oklch */ color: oklch(50.0% 0.225 306.0);
Tailwind
colors: {
  custom: {
    50: '#ae6ed8',
    500: '#8428c5',
    950: '#000000',
  },
}
SCSS
$custom: #8428c5;
$custom-light: #ae6ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8428c5",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 275.159,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50008,
    "c": 0.22488,
    "h": 306
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

primary
#8428C5
secondary
#9DCE7A
accent
#E93F85
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #8428C5

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

Preview Lab → · Contrast checker → · Palette generator →

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