#9128A8#9128A8

#9128A8 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.203 H 319.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9128A8
RGBrgb(145, 40, 168)
HSLhsl(289, 62%, 41%)
HSVhsv(289, 76%, 66%)
CMYKcmyk(13.7%, 76.2%, 0%, 34.1%)
CIE-LABlab(38.49, 60.04, -46.88)
CIE-LCHlch(38.49, 76.17, 322.02°)
OKLaboklab(49.63% 0.1547 -0.1316)
OKLCHoklch(49.63% 0.203 319.6)
XYZxyz(19.5028, 10.3655, 38.0116)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128A8 #3FA828
analogous
#5128A8 #9128A8 #A8287F
triadic
#9128A8 #A89128 #28A891
tetradic
#9128A8 #A85128 #3FA828 #287FA8
square
#9128A8 #A85128 #3FA828 #287FA8
split-complementary
#9128A8 #7FA828 #28A851
monochromatic
#3C1045 #661C77 #9128A8 #B63DD1 #C96EDC

Accessibility & contrast

On white

6.83
#9128A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9128A8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128A8#FFFFFF#000000##FFFFFF
##9128A81.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#335EA5
Tritanopia (blue-blind)
#914367
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9128a8;
/* rgb */ color: rgb(145, 40, 168);
/* oklch */ color: oklch(49.6% 0.203 319.6);
Tailwind
colors: {
  custom: {
    50: '#b56ec2',
    500: '#9128a8',
    950: '#000000',
  },
}
SCSS
$custom: #9128a8;
$custom-light: #b56ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9128a8",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 289.219,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49633,
    "c": 0.20308,
    "h": 319.6
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#9128A8
secondary
#79C369
accent
#E54360
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9128A8

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

Preview Lab → · Contrast checker → · Palette generator →

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