#9428B2#9428B2

#9428B2 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.213 H 317.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9428B2
RGBrgb(148, 40, 178)
HSLhsl(287, 63%, 43%)
HSVhsv(287, 78%, 70%)
CMYKcmyk(16.9%, 77.5%, 0%, 30.2%)
CIE-LABlab(39.63, 62.52, -50.97)
CIE-LCHlch(39.63, 80.67, 320.81°)
OKLaboklab(50.74% 0.1571 -0.1435)
OKLCHoklch(50.74% 0.213 317.6)
XYZxyz(21.0063, 11.0288, 43.1331)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9428B2 #46B228
analogous
#4F28B2 #9428B2 #B2288B
triadic
#9428B2 #B29428 #28B294
tetradic
#9428B2 #B24F28 #46B228 #288BB2
square
#9428B2 #B24F28 #46B228 #288BB2
split-complementary
#9428B2 #8BB228 #28B24F
monochromatic
#41124E #6A1D80 #9428B2 #B543D5 #C975E0

Accessibility & contrast

On white

6.55
#9428B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9428B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9428B2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9428B2#FFFFFF#000000##FFFFFF
##9428B21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#2C61AF
Tritanopia (blue-blind)
#93476C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9428b2;
/* rgb */ color: rgb(148, 40, 178);
/* oklch */ color: oklch(50.7% 0.213 317.6);
Tailwind
colors: {
  custom: {
    50: '#b86fca',
    500: '#9428b2',
    950: '#000000',
  },
}
SCSS
$custom: #9428b2;
$custom-light: #b86fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9428b2",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 286.957,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50743,
    "c": 0.21275,
    "h": 317.6
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#9428B2
secondary
#82C76F
accent
#E64165
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9428B2

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

Preview Lab → · Contrast checker → · Palette generator →

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