#9428A2#9428A2

#9428A2 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.199 H 322.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9428A2
RGBrgb(148, 40, 162)
HSLhsl(293, 60%, 40%)
HSVhsv(293, 75%, 64%)
CMYKcmyk(8.6%, 75.3%, 0%, 36.5%)
CIE-LABlab(38.59, 59.55, -43.09)
CIE-LCHlch(38.59, 73.50, 324.11°)
OKLaboklab(49.68% 0.1588 -0.1204)
OKLCHoklch(49.68% 0.199 322.8)
XYZxyz(19.4925, 10.4233, 35.1606)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9428A2 #36A228
analogous
#5728A2 #9428A2 #A22873
triadic
#9428A2 #A29428 #28A294
tetradic
#9428A2 #A25728 #36A228 #2873A2
square
#9428A2 #A25728 #36A228 #2873A2
split-complementary
#9428A2 #73A228 #28A257
monochromatic
#3A1040 #671C71 #9428A2 #BD39CE #CD6ADA

Accessibility & contrast

On white

6.81
#9428A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9428A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9428A2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9428A2#FFFFFF#000000##FFFFFF
##9428A21.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#3C5F9F
Tritanopia (blue-blind)
#963F63
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9428a2;
/* rgb */ color: rgb(148, 40, 162);
/* oklch */ color: oklch(49.7% 0.199 322.8);
Tailwind
colors: {
  custom: {
    50: '#b76ebe',
    500: '#9428a2',
    950: '#000000',
  },
}
SCSS
$custom: #9428a2;
$custom-light: #b76ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9428a2",
  "rgb": {
    "r": 148,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 293.115,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.19926,
    "h": 322.8
  },
  "luminance": 0.10422
}

Semantic roles & 50–950 ramp

primary
#9428A2
secondary
#70C165
accent
#E44457
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9428A2

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

Preview Lab → · Contrast checker → · Palette generator →

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