#8428B1#8428B1

#8428B1 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.206 H 311.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8428B1
RGBrgb(132, 40, 177)
HSLhsl(280, 63%, 43%)
HSVhsv(280, 77%, 69%)
CMYKcmyk(25.4%, 77.4%, 0%, 30.6%)
CIE-LABlab(37.11, 59.31, -54.57)
CIE-LCHlch(37.11, 80.60, 317.38°)
OKLaboklab(48.45% 0.1369 -0.1546)
OKLCHoklch(48.45% 0.206 311.5)
XYZxyz(18.2088, 9.5979, 42.4798)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428B1 #55B128
analogous
#3F28B1 #8428B1 #B1289A
triadic
#8428B1 #B18428 #28B184
tetradic
#8428B1 #B13F28 #55B128 #289AB1
square
#8428B1 #B13F28 #55B128 #289AB1
split-complementary
#8428B1 #9AB128 #28B13F
monochromatic
#3A114D #5F1D7F #8428B1 #A442D4 #BC74E0

Accessibility & contrast

On white

7.19
#8428B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8428B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8428B1
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428B1#FFFFFF#000000##FFFFFF
##8428B11.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0959AE
Tritanopia (blue-blind)
#7E496C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8428b1;
/* rgb */ color: rgb(132, 40, 177);
/* oklch */ color: oklch(48.5% 0.206 311.5);
Tailwind
colors: {
  custom: {
    50: '#ac6dc9',
    500: '#8428b1',
    950: '#000000',
  },
}
SCSS
$custom: #8428b1;
$custom-light: #ac6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8428b1",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 280.292,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48453,
    "c": 0.20647,
    "h": 311.5
  },
  "luminance": 0.09597
}

Semantic roles & 50–950 ramp

primary
#8428B1
secondary
#8BC76E
accent
#E64278
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8428B1

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

Preview Lab → · Contrast checker → · Palette generator →

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