#9428AC#9428AC

#9428AC is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.208 H 319.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9428AC
RGBrgb(148, 40, 172)
HSLhsl(289, 62%, 42%)
HSVhsv(289, 77%, 67%)
CMYKcmyk(14%, 76.7%, 0%, 32.5%)
CIE-LABlab(39.23, 61.39, -48.05)
CIE-LCHlch(39.23, 77.96, 321.95°)
OKLaboklab(50.33% 0.1579 -0.1349)
OKLCHoklch(50.33% 0.208 319.5)
XYZxyz(20.4170, 10.7931, 40.0296)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9428AC #40AC28
analogous
#5228AC #9428AC #AC2882
triadic
#9428AC #AC9428 #28AC94
tetradic
#9428AC #AC5228 #40AC28 #2882AC
square
#9428AC #AC5228 #40AC28 #2882AC
split-complementary
#9428AC #82AC28 #28AC52
monochromatic
#3F1149 #691C7A #9428AC #B83FD2 #CA71DE

Accessibility & contrast

On white

6.65
#9428AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9428AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9428AC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9428AC#FFFFFF#000000##FFFFFF
##9428AC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#944469
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9428ac;
/* rgb */ color: rgb(148, 40, 172);
/* oklch */ color: oklch(50.3% 0.208 319.5);
Tailwind
colors: {
  custom: {
    50: '#b76ec5',
    500: '#9428ac',
    950: '#000000',
  },
}
SCSS
$custom: #9428ac;
$custom-light: #b76ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9428ac",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 289.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50334,
    "c": 0.20765,
    "h": 319.5
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#9428AC
secondary
#7BC56B
accent
#E54260
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9428AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9428AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva