#9128B7#9128B7

#9128B7 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.216 H 314.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9128B7
RGBrgb(145, 40, 183)
HSLhsl(284, 64%, 44%)
HSVhsv(284, 78%, 72%)
CMYKcmyk(20.8%, 78.1%, 0%, 28.2%)
CIE-LABlab(39.51, 62.93, -54.15)
CIE-LCHlch(39.51, 83.02, 319.29°)
OKLaboklab(50.67% 0.1526 -0.1529)
OKLCHoklch(50.67% 0.216 314.9)
XYZxyz(20.9817, 10.9570, 45.8002)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128B7 #4EB728
analogous
#4928B7 #9128B7 #B72895
triadic
#9128B7 #B79128 #28B791
tetradic
#9128B7 #B74928 #4EB728 #2895B7
square
#9128B7 #B74928 #4EB728 #2895B7
split-complementary
#9128B7 #95B728 #28B749
monochromatic
#411253 #691D85 #9128B7 #B046D6 #C578E1

Accessibility & contrast

On white

6.58
#9128B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9128B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128B7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128B7#FFFFFF#000000##FFFFFF
##9128B71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#2060B4
Tritanopia (blue-blind)
#8E496F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9128b7;
/* rgb */ color: rgb(145, 40, 183);
/* oklch */ color: oklch(50.7% 0.216 314.9);
Tailwind
colors: {
  custom: {
    50: '#b66ecd',
    500: '#9128b7',
    950: '#000000',
  },
}
SCSS
$custom: #9128b7;
$custom-light: #b66ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#9128b7",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 284.056,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.216,
    "h": 314.9
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#9128B7
secondary
#89C972
accent
#E7416D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9128B7

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

Preview Lab → · Contrast checker → · Palette generator →

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