#8428BA#8428BA

#8428BA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.215 H 309.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8428BA
RGBrgb(132, 40, 186)
HSLhsl(278, 65%, 44%)
HSVhsv(278, 78%, 73%)
CMYKcmyk(29%, 78.5%, 0%, 27.1%)
CIE-LABlab(37.79, 61.21, -58.80)
CIE-LCHlch(37.79, 84.88, 316.15°)
OKLaboklab(49.14% 0.135 -0.167)
OKLCHoklch(49.14% 0.215 309)
XYZxyz(19.1356, 9.9686, 47.3609)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428BA #5EBA28
analogous
#3B28BA #8428BA #BA28A7
triadic
#8428BA #BA8428 #28BA84
tetradic
#8428BA #BA3B28 #5EBA28 #28A7BA
square
#8428BA #BA3B28 #5EBA28 #28A7BA
split-complementary
#8428BA #A7BA28 #28BA3B
monochromatic
#3D1255 #601D88 #8428BA #A248D8 #BC7AE2

Accessibility & contrast

On white

7.01
#8428BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8428BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8428BA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428BA#FFFFFF#000000##FFFFFF
##8428BA1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#7C4D71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8428ba;
/* rgb */ color: rgb(132, 40, 186);
/* oklch */ color: oklch(49.1% 0.215 309.0);
Tailwind
colors: {
  custom: {
    50: '#ad6dd0',
    500: '#8428ba',
    950: '#000000',
  },
}
SCSS
$custom: #8428ba;
$custom-light: #ad6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8428ba",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 277.808,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49139,
    "c": 0.21474,
    "h": 309
  },
  "luminance": 0.09968
}

Semantic roles & 50–950 ramp

primary
#8428BA
secondary
#94CA73
accent
#E8407E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8428BA

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

Preview Lab → · Contrast checker → · Palette generator →

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