#9128AC#9128AC

#9128AC is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.206 H 318.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9128AC
RGBrgb(145, 40, 172)
HSLhsl(288, 62%, 42%)
HSVhsv(288, 77%, 67%)
CMYKcmyk(15.7%, 76.7%, 0%, 32.5%)
CIE-LABlab(38.75, 60.79, -48.84)
CIE-LCHlch(38.75, 77.98, 321.22°)
OKLaboklab(49.9% 0.1542 -0.1373)
OKLCHoklch(49.9% 0.207 318.3)
XYZxyz(19.8812, 10.5168, 40.0044)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128AC #43AC28
analogous
#4F28AC #9128AC #AC2885
triadic
#9128AC #AC9128 #28AC91
tetradic
#9128AC #AC4F28 #43AC28 #2885AC
square
#9128AC #AC4F28 #43AC28 #2885AC
split-complementary
#9128AC #85AC28 #28AC4F
monochromatic
#3D1149 #671C7A #9128AC #B43FD2 #C871DE

Accessibility & contrast

On white

6.77
#9128AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9128AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128AC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128AC#FFFFFF#000000##FFFFFF
##9128AC1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#2F5EA9
Tritanopia (blue-blind)
#904469
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9128ac;
/* rgb */ color: rgb(145, 40, 172);
/* oklch */ color: oklch(49.9% 0.206 318.3);
Tailwind
colors: {
  custom: {
    50: '#b56ec5',
    500: '#9128ac',
    950: '#000000',
  },
}
SCSS
$custom: #9128ac;
$custom-light: #b56ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9128ac",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 287.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49904,
    "c": 0.2065,
    "h": 318.3
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#9128AC
secondary
#7DC56B
accent
#E54264
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9128AC

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

Preview Lab → · Contrast checker → · Palette generator →

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