#9428B7#9428B7

#9428B7 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.217 H 316.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9428B7
RGBrgb(148, 40, 183)
HSLhsl(285, 64%, 44%)
HSVhsv(285, 78%, 72%)
CMYKcmyk(19.1%, 78.1%, 0%, 28.2%)
CIE-LABlab(39.97, 63.48, -53.38)
CIE-LCHlch(39.97, 82.94, 319.94°)
OKLaboklab(51.09% 0.1563 -0.1505)
OKLCHoklch(51.09% 0.217 316.1)
XYZxyz(21.5174, 11.2333, 45.8254)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9428B7 #4BB728
analogous
#4C28B7 #9428B7 #B72892
triadic
#9428B7 #B79428 #28B794
tetradic
#9428B7 #B74C28 #4BB728 #2892B7
square
#9428B7 #B74C28 #4BB728 #2892B7
split-complementary
#9428B7 #92B728 #28B74C
monochromatic
#431253 #6B1D85 #9428B7 #B346D6 #C878E1

Accessibility & contrast

On white

6.47
#9428B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9428B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9428B7
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9428B7#FFFFFF#000000##FFFFFF
##9428B71.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#2661B4
Tritanopia (blue-blind)
#92496F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9428b7;
/* rgb */ color: rgb(148, 40, 183);
/* oklch */ color: oklch(51.1% 0.217 316.1);
Tailwind
colors: {
  custom: {
    50: '#b86fcd',
    500: '#9428b7',
    950: '#000000',
  },
}
SCSS
$custom: #9428b7;
$custom-light: #b86fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#9428b7",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 285.315,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.21702,
    "h": 316.1
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#9428B7
secondary
#87C972
accent
#E74169
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9428B7

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

Preview Lab → · Contrast checker → · Palette generator →

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