#9128A7#9128A7

#9128A7 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.202 H 320.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9128A7
RGBrgb(145, 40, 167)
HSLhsl(290, 61%, 41%)
HSVhsv(290, 76%, 65%)
CMYKcmyk(13.2%, 76%, 0%, 34.5%)
CIE-LABlab(38.43, 59.85, -46.38)
CIE-LCHlch(38.43, 75.72, 322.22°)
OKLaboklab(49.57% 0.1548 -0.1301)
OKLCHoklch(49.57% 0.202 320)
XYZxyz(19.4100, 10.3283, 37.5229)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128A7 #3EA728
analogous
#5128A7 #9128A7 #A7287E
triadic
#9128A7 #A79128 #28A791
tetradic
#9128A7 #A75128 #3EA728 #287EA7
square
#9128A7 #A75128 #3EA728 #287EA7
split-complementary
#9128A7 #7EA728 #28A751
monochromatic
#3B1044 #661C76 #9128A7 #B73CD0 #C96DDC

Accessibility & contrast

On white

6.85
#9128A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9128A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128A7
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128A7#FFFFFF#000000##FFFFFF
##9128A71.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#914266
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9128a7;
/* rgb */ color: rgb(145, 40, 167);
/* oklch */ color: oklch(49.6% 0.202 320.0);
Tailwind
colors: {
  custom: {
    50: '#b56ec2',
    500: '#9128a7',
    950: '#000000',
  },
}
SCSS
$custom: #9128a7;
$custom-light: #b56ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9128a7",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 289.606,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49566,
    "c": 0.20222,
    "h": 320
  },
  "luminance": 0.10327
}

Semantic roles & 50–950 ramp

primary
#9128A7
secondary
#78C368
accent
#E4435F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9128A7

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

Preview Lab → · Contrast checker → · Palette generator →

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