#9128B9#9128B9

#9128B9 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.218 H 314.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9128B9
RGBrgb(145, 40, 185)
HSLhsl(283, 64%, 44%)
HSVhsv(283, 78%, 73%)
CMYKcmyk(21.6%, 78.4%, 0%, 27.5%)
CIE-LABlab(39.65, 63.32, -55.10)
CIE-LCHlch(39.65, 83.94, 318.97°)
OKLaboklab(50.82% 0.1522 -0.1557)
OKLCHoklch(50.82% 0.218 314.4)
XYZxyz(21.1913, 11.0409, 46.9043)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128B9 #50B928
analogous
#4928B9 #9128B9 #B92899
triadic
#9128B9 #B99128 #28B991
tetradic
#9128B9 #B94928 #50B928 #2899B9
square
#9128B9 #B94928 #50B928 #2899B9
split-complementary
#9128B9 #99B928 #28B949
monochromatic
#421254 #6A1D87 #9128B9 #AF47D7 #C579E2

Accessibility & contrast

On white

6.55
#9128B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9128B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9128B9#FFFFFF#000000##FFFFFF
##9128B91.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)
#0058BD
Deuteranopia (green-blind)
#1C60B6
Tritanopia (blue-blind)
#8D4A70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9128b9;
/* rgb */ color: rgb(145, 40, 185);
/* oklch */ color: oklch(50.8% 0.218 314.4);
Tailwind
colors: {
  custom: {
    50: '#b66fcf',
    500: '#9128b9',
    950: '#000000',
  },
}
SCSS
$custom: #9128b9;
$custom-light: #b66fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9128b9",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 283.448,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.21774,
    "h": 314.4
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#9128B9
secondary
#8BCA73
accent
#E7406E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9128B9

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

Preview Lab → · Contrast checker → · Palette generator →

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