#8428B7#8428B7

#8428B7 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.212 H 309.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8428B7
RGBrgb(132, 40, 183)
HSLhsl(279, 64%, 44%)
HSVhsv(279, 78%, 72%)
CMYKcmyk(27.9%, 78.1%, 0%, 28.2%)
CIE-LABlab(37.56, 60.57, -57.40)
CIE-LCHlch(37.56, 83.45, 316.54°)
OKLaboklab(48.91% 0.1357 -0.1629)
OKLCHoklch(48.91% 0.212 309.8)
XYZxyz(18.8200, 9.8424, 45.6989)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428B7 #5BB728
analogous
#3C28B7 #8428B7 #B728A2
triadic
#8428B7 #B78428 #28B784
tetradic
#8428B7 #B73C28 #5BB728 #28A2B7
square
#8428B7 #B73C28 #5BB728 #28A2B7
split-complementary
#8428B7 #A2B728 #28B73C
monochromatic
#3C1253 #601D85 #8428B7 #A346D6 #BC78E1

Accessibility & contrast

On white

7.07
#8428B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8428B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8428B7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428B7#FFFFFF#000000##FFFFFF
##8428B71.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#7D4C6F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8428b7;
/* rgb */ color: rgb(132, 40, 183);
/* oklch */ color: oklch(48.9% 0.212 309.8);
Tailwind
colors: {
  custom: {
    50: '#ad6dcd',
    500: '#8428b7',
    950: '#000000',
  },
}
SCSS
$custom: #8428b7;
$custom-light: #ad6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8428b7",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 278.601,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.21198,
    "h": 309.8
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#8428B7
secondary
#91C972
accent
#E7417C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8428B7

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

Preview Lab → · Contrast checker → · Palette generator →

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