#8428C3#8428C3

#8428C3 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.223 H 306.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8428C3
RGBrgb(132, 40, 195)
HSLhsl(276, 66%, 46%)
HSVhsv(276, 79%, 76%)
CMYKcmyk(32.3%, 79.5%, 0%, 23.5%)
CIE-LABlab(38.49, 63.14, -62.95)
CIE-LCHlch(38.49, 89.16, 315.09°)
OKLaboklab(49.85% 0.1328 -0.1792)
OKLCHoklch(49.85% 0.223 306.5)
XYZxyz(20.1227, 10.3635, 52.5594)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428C3 #67C328
analogous
#3728C3 #8428C3 #C328B4
triadic
#8428C3 #C38428 #28C384
tetradic
#8428C3 #C33728 #67C328 #28B4C3
square
#8428C3 #C33728 #67C328 #28B4C3
split-complementary
#8428C3 #B4C328 #28C337
monochromatic
#3F135D #621E90 #8428C3 #A14EDB #BC80E5

Accessibility & contrast

On white

6.83
#8428C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8428C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8428C3
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428C3#FFFFFF#000000##FFFFFF
##8428C31.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#795176
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8428c3;
/* rgb */ color: rgb(132, 40, 195);
/* oklch */ color: oklch(49.8% 0.223 306.5);
Tailwind
colors: {
  custom: {
    50: '#ae6dd6',
    500: '#8428c3',
    950: '#000000',
  },
}
SCSS
$custom: #8428c3;
$custom-light: #ae6dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8428c3",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 275.613,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49848,
    "c": 0.22304,
    "h": 306.5
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#8428C3
secondary
#9BCE79
accent
#E93F84
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8428C3

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

Preview Lab → · Contrast checker → · Palette generator →

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