#9128BB#9128BB

#9128BB is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.0% C 0.219 H 313.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9128BB
RGBrgb(145, 40, 187)
HSLhsl(283, 65%, 45%)
HSVhsv(283, 79%, 73%)
CMYKcmyk(22.5%, 78.6%, 0%, 26.7%)
CIE-LABlab(39.79, 63.72, -56.05)
CIE-LCHlch(39.79, 84.86, 318.66°)
OKLaboklab(50.96% 0.1519 -0.1585)
OKLCHoklch(50.96% 0.219 313.8)
XYZxyz(21.4039, 11.1259, 48.0241)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128BB #52BB28
analogous
#4728BB #9128BB #BB289C
triadic
#9128BB #BB9128 #28BB91
tetradic
#9128BB #BB4728 #52BB28 #289CBB
square
#9128BB #BB4728 #52BB28 #289CBB
split-complementary
#9128BB #9CBB28 #28BB47
monochromatic
#431256 #6A1D89 #9128BB #AF48D8 #C57BE3

Accessibility & contrast

On white

6.51
#9128BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9128BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9128BB#FFFFFF#000000##FFFFFF
##9128BB1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#1860B8
Tritanopia (blue-blind)
#8D4B72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9128bb;
/* rgb */ color: rgb(145, 40, 187);
/* oklch */ color: oklch(51.0% 0.219 313.8);
Tailwind
colors: {
  custom: {
    50: '#b66fd0',
    500: '#9128bb',
    950: '#000000',
  },
}
SCSS
$custom: #9128bb;
$custom-light: #b66fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9128bb",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 282.857,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.21949,
    "h": 313.8
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#9128BB
secondary
#8DCB74
accent
#E84070
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9128BB

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

Preview Lab → · Contrast checker → · Palette generator →

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