#9128AA#9128AA

#9128AA is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.205 H 319.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9128AA
RGBrgb(145, 40, 170)
HSLhsl(288, 62%, 41%)
HSVhsv(288, 76%, 67%)
CMYKcmyk(14.7%, 76.5%, 0%, 33.3%)
CIE-LABlab(38.62, 60.41, -47.86)
CIE-LCHlch(38.62, 77.08, 321.61°)
OKLaboklab(49.77% 0.1545 -0.1344)
OKLCHoklch(49.77% 0.205 319)
XYZxyz(19.6906, 10.4406, 39.0005)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128AA #41AA28
analogous
#5028AA #9128AA #AA2882
triadic
#9128AA #AA9128 #28AA91
tetradic
#9128AA #AA5028 #41AA28 #2882AA
square
#9128AA #AA5028 #41AA28 #2882AA
split-complementary
#9128AA #82AA28 #28AA50
monochromatic
#3C1147 #671C78 #9128AA #B53ED2 #C86FDD

Accessibility & contrast

On white

6.80
#9128AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9128AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128AA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128AA#FFFFFF#000000##FFFFFF
##9128AA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#315EA7
Tritanopia (blue-blind)
#914368
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9128aa;
/* rgb */ color: rgb(145, 40, 170);
/* oklch */ color: oklch(49.8% 0.205 319.0);
Tailwind
colors: {
  custom: {
    50: '#b56ec4',
    500: '#9128aa',
    950: '#000000',
  },
}
SCSS
$custom: #9128aa;
$custom-light: #b56ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#9128aa",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 288.462,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49767,
    "c": 0.20478,
    "h": 319
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#9128AA
secondary
#7BC46A
accent
#E54362
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9128AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9128AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva