#9128B5#9128B5

#9128B5 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.214 H 315.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9128B5
RGBrgb(145, 40, 181)
HSLhsl(285, 64%, 43%)
HSVhsv(285, 78%, 71%)
CMYKcmyk(19.9%, 77.9%, 0%, 29%)
CIE-LABlab(39.37, 62.53, -53.19)
CIE-LCHlch(39.37, 82.10, 319.61°)
OKLaboklab(50.53% 0.1529 -0.1501)
OKLCHoklch(50.53% 0.214 315.5)
XYZxyz(20.7750, 10.8743, 44.7117)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128B5 #4CB528
analogous
#4A28B5 #9128B5 #B52892
triadic
#9128B5 #B59128 #28B591
tetradic
#9128B5 #B54A28 #4CB528 #2892B5
square
#9128B5 #B54A28 #4CB528 #2892B5
split-complementary
#9128B5 #92B528 #28B54A
monochromatic
#411251 #691D83 #9128B5 #B144D6 #C677E1

Accessibility & contrast

On white

6.61
#9128B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9128B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9128B5#FFFFFF#000000##FFFFFF
##9128B51.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#235FB2
Tritanopia (blue-blind)
#8E496E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9128b5;
/* rgb */ color: rgb(145, 40, 181);
/* oklch */ color: oklch(50.5% 0.214 315.5);
Tailwind
colors: {
  custom: {
    50: '#b66ecc',
    500: '#9128b5',
    950: '#000000',
  },
}
SCSS
$custom: #9128b5;
$custom-light: #b66ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#9128b5",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 284.681,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.21427,
    "h": 315.5
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#9128B5
secondary
#87C870
accent
#E7416B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9128B5

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

Preview Lab → · Contrast checker → · Palette generator →

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