#8428B2#8428B2

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

Color values

HEX#8428B2
RGBrgb(132, 40, 178)
HSLhsl(280, 63%, 43%)
HSVhsv(280, 78%, 70%)
CMYKcmyk(25.8%, 77.5%, 0%, 30.2%)
CIE-LABlab(37.18, 59.52, -55.04)
CIE-LCHlch(37.18, 81.07, 317.24°)
OKLaboklab(48.53% 0.1367 -0.156)
OKLCHoklch(48.53% 0.207 311.2)
XYZxyz(18.3089, 9.6379, 43.0067)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428B2 #56B228
analogous
#3F28B2 #8428B2 #B2289B
triadic
#8428B2 #B28428 #28B284
tetradic
#8428B2 #B23F28 #56B228 #289BB2
square
#8428B2 #B23F28 #56B228 #289BB2
split-complementary
#8428B2 #9BB228 #28B23F
monochromatic
#3A124E #5F1D80 #8428B2 #A443D5 #BC75E0

Accessibility & contrast

On white

7.17
#8428B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8428B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8428B2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428B2#FFFFFF#000000##FFFFFF
##8428B21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0559AF
Tritanopia (blue-blind)
#7E496C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8428b2;
/* rgb */ color: rgb(132, 40, 178);
/* oklch */ color: oklch(48.5% 0.207 311.2);
Tailwind
colors: {
  custom: {
    50: '#ad6dca',
    500: '#8428b2',
    950: '#000000',
  },
}
SCSS
$custom: #8428b2;
$custom-light: #ad6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8428b2",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 280,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48528,
    "c": 0.20738,
    "h": 311.2
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#8428B2
secondary
#8CC76F
accent
#E64178
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8428B2

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

Preview Lab → · Contrast checker → · Palette generator →

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