#9128BD#9128BD

#9128BD is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.221 H 313.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9128BD
RGBrgb(145, 40, 189)
HSLhsl(282, 65%, 45%)
HSVhsv(282, 79%, 74%)
CMYKcmyk(23.3%, 78.8%, 0%, 25.9%)
CIE-LABlab(39.94, 64.11, -56.99)
CIE-LCHlch(39.94, 85.78, 318.37°)
OKLaboklab(51.11% 0.1515 -0.1612)
OKLCHoklch(51.11% 0.221 313.2)
XYZxyz(21.6195, 11.2121, 49.1596)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128BD #54BD28
analogous
#4728BD #9128BD #BD289F
triadic
#9128BD #BD9128 #28BD91
tetradic
#9128BD #BD4728 #54BD28 #289FBD
square
#9128BD #BD4728 #54BD28 #289FBD
split-complementary
#9128BD #9FBD28 #28BD47
monochromatic
#431358 #6A1D8A #9128BD #AE4AD9 #C57CE3

Accessibility & contrast

On white

6.48
#9128BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9128BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9128BD#FFFFFF#000000##FFFFFF
##9128BD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#1260BA
Tritanopia (blue-blind)
#8C4C73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9128bd;
/* rgb */ color: rgb(145, 40, 189);
/* oklch */ color: oklch(51.1% 0.221 313.2);
Tailwind
colors: {
  custom: {
    50: '#b66fd2',
    500: '#9128bd',
    950: '#000000',
  },
}
SCSS
$custom: #9128bd;
$custom-light: #b66fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9128bd",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 282.282,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.22123,
    "h": 313.2
  },
  "luminance": 0.11211
}

Semantic roles & 50–950 ramp

primary
#9128BD
secondary
#8FCB75
accent
#E84071
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9128BD

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

Preview Lab → · Contrast checker → · Palette generator →

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