#9128C3#9128C3

#9128C3 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.226 H 311.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9128C3
RGBrgb(145, 40, 195)
HSLhsl(281, 66%, 46%)
HSVhsv(281, 79%, 76%)
CMYKcmyk(25.6%, 79.5%, 0%, 23.5%)
CIE-LABlab(40.37, 65.32, -59.79)
CIE-LCHlch(40.37, 88.55, 317.53°)
OKLaboklab(51.55% 0.1502 -0.1695)
OKLCHoklch(51.55% 0.226 311.6)
XYZxyz(22.2843, 11.4781, 52.6608)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128C3 #5AC328
analogous
#4328C3 #9128C3 #C328A7
triadic
#9128C3 #C39128 #28C391
tetradic
#9128C3 #C34328 #5AC328 #28A7C3
square
#9128C3 #C34328 #5AC328 #28A7C3
split-complementary
#9128C3 #A7C328 #28C343
monochromatic
#45135D #6B1E90 #9128C3 #AD4EDB #C580E5

Accessibility & contrast

On white

6.37
#9128C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9128C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128C3
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128C3#FFFFFF#000000##FFFFFF
##9128C31.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#8B4F76
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9128c3;
/* rgb */ color: rgb(145, 40, 195);
/* oklch */ color: oklch(51.6% 0.226 311.6);
Tailwind
colors: {
  custom: {
    50: '#b66fd6',
    500: '#9128c3',
    950: '#000000',
  },
}
SCSS
$custom: #9128c3;
$custom-light: #b66fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9128c3",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 280.645,
    "s": 65.957,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51555,
    "c": 0.22648,
    "h": 311.6
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#9128C3
secondary
#94CE79
accent
#E93F76
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9128C3

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

Preview Lab → · Contrast checker → · Palette generator →

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