#9128AB#9128AB

#9128AB is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.206 H 318.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9128AB
RGBrgb(145, 40, 171)
HSLhsl(288, 62%, 41%)
HSVhsv(288, 77%, 67%)
CMYKcmyk(15.2%, 76.6%, 0%, 32.9%)
CIE-LABlab(38.69, 60.60, -48.35)
CIE-LCHlch(38.69, 77.53, 321.42°)
OKLaboklab(49.84% 0.1543 -0.1359)
OKLCHoklch(49.84% 0.206 318.6)
XYZxyz(19.7855, 10.4785, 39.5006)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128AB #42AB28
analogous
#5028AB #9128AB #AB2884
triadic
#9128AB #AB9128 #28AB91
tetradic
#9128AB #AB5028 #42AB28 #2884AB
square
#9128AB #AB5028 #42AB28 #2884AB
split-complementary
#9128AB #84AB28 #28AB50
monochromatic
#3D1148 #671C79 #9128AB #B53ED2 #C870DE

Accessibility & contrast

On white

6.78
#9128AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9128AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9128AB#FFFFFF#000000##FFFFFF
##9128AB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#914468
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9128ab;
/* rgb */ color: rgb(145, 40, 171);
/* oklch */ color: oklch(49.8% 0.206 318.6);
Tailwind
colors: {
  custom: {
    50: '#b56ec5',
    500: '#9128ab',
    950: '#000000',
  },
}
SCSS
$custom: #9128ab;
$custom-light: #b56ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9128ab",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 288.092,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49835,
    "c": 0.20564,
    "h": 318.6
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#9128AB
secondary
#7CC46A
accent
#E54363
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9128AB

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

Preview Lab → · Contrast checker → · Palette generator →

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