#9128B3#9128B3

#9128B3 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.213 H 316.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9128B3
RGBrgb(145, 40, 179)
HSLhsl(285, 63%, 43%)
HSVhsv(285, 78%, 70%)
CMYKcmyk(19%, 77.7%, 0%, 29.8%)
CIE-LABlab(39.23, 62.14, -52.23)
CIE-LCHlch(39.23, 81.18, 319.95°)
OKLaboklab(50.39% 0.1532 -0.1473)
OKLCHoklch(50.39% 0.213 316.1)
XYZxyz(20.5713, 10.7928, 43.6387)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128B3 #4AB328
analogous
#4C28B3 #9128B3 #B3288F
triadic
#9128B3 #B39128 #28B391
tetradic
#9128B3 #B34C28 #4AB328 #288FB3
square
#9128B3 #B34C28 #4AB328 #288FB3
split-complementary
#9128B3 #8FB328 #28B34C
monochromatic
#40124F #681D81 #9128B3 #B143D5 #C675E0

Accessibility & contrast

On white

6.65
#9128B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9128B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128B3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128B3#FFFFFF#000000##FFFFFF
##9128B31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#8F486D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9128b3;
/* rgb */ color: rgb(145, 40, 179);
/* oklch */ color: oklch(50.4% 0.213 316.1);
Tailwind
colors: {
  custom: {
    50: '#b66eca',
    500: '#9128b3',
    950: '#000000',
  },
}
SCSS
$custom: #9128b3;
$custom-light: #b66eca;
$custom-dark: #000000;
JSON
{
  "hex": "#9128b3",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 285.324,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.21253,
    "h": 316.1
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#9128B3
secondary
#85C86F
accent
#E6416A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9128B3

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

Preview Lab → · Contrast checker → · Palette generator →

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