#9428BA#9428BA

#9428BA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.220 H 315.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9428BA
RGBrgb(148, 40, 186)
HSLhsl(284, 65%, 44%)
HSVhsv(284, 78%, 73%)
CMYKcmyk(20.4%, 78.5%, 0%, 27.1%)
CIE-LABlab(40.18, 64.06, -54.81)
CIE-LCHlch(40.18, 84.31, 319.45°)
OKLaboklab(51.31% 0.1558 -0.1547)
OKLCHoklch(51.31% 0.22 315.2)
XYZxyz(21.8330, 11.3595, 47.4874)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9428BA #4EBA28
analogous
#4B28BA #9428BA #BA2897
triadic
#9428BA #BA9428 #28BA94
tetradic
#9428BA #BA4B28 #4EBA28 #2897BA
square
#9428BA #BA4B28 #4EBA28 #2897BA
split-complementary
#9428BA #97BA28 #28BA4B
monochromatic
#441255 #6C1D88 #9428BA #B248D8 #C77AE2

Accessibility & contrast

On white

6.42
#9428BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9428BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9428BA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9428BA#FFFFFF#000000##FFFFFF
##9428BA1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2161B7
Tritanopia (blue-blind)
#914A71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9428ba;
/* rgb */ color: rgb(148, 40, 186);
/* oklch */ color: oklch(51.3% 0.220 315.2);
Tailwind
colors: {
  custom: {
    50: '#b86fd0',
    500: '#9428ba',
    950: '#000000',
  },
}
SCSS
$custom: #9428ba;
$custom-light: #b86fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9428ba",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 284.384,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51306,
    "c": 0.2196,
    "h": 315.2
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#9428BA
secondary
#8ACA73
accent
#E8406C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9428BA

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

Preview Lab → · Contrast checker → · Palette generator →

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