#9128AD#9128AD

#9128AD is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.207 H 318.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9128AD
RGBrgb(145, 40, 173)
HSLhsl(287, 62%, 42%)
HSVhsv(287, 77%, 68%)
CMYKcmyk(16.2%, 76.9%, 0%, 32.2%)
CIE-LABlab(38.82, 60.99, -49.33)
CIE-LCHlch(38.82, 78.44, 321.03°)
OKLaboklab(49.97% 0.1541 -0.1388)
OKLCHoklch(49.97% 0.207 318)
XYZxyz(19.9776, 10.5554, 40.5121)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128AD #44AD28
analogous
#4E28AD #9128AD #AD2887
triadic
#9128AD #AD9128 #28AD91
tetradic
#9128AD #AD4E28 #44AD28 #2887AD
square
#9128AD #AD4E28 #44AD28 #2887AD
split-complementary
#9128AD #87AD28 #28AD4E
monochromatic
#3E114A #671D7B #9128AD #B43FD3 #C771DE

Accessibility & contrast

On white

6.75
#9128AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9128AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128AD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128AD#FFFFFF#000000##FFFFFF
##9128AD1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B1
Deuteranopia (green-blind)
#2E5FAA
Tritanopia (blue-blind)
#90456A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9128ad;
/* rgb */ color: rgb(145, 40, 173);
/* oklch */ color: oklch(50.0% 0.207 318.0);
Tailwind
colors: {
  custom: {
    50: '#b56ec6',
    500: '#9128ad',
    950: '#000000',
  },
}
SCSS
$custom: #9128ad;
$custom-light: #b56ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#9128ad",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 287.368,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49972,
    "c": 0.20736,
    "h": 318
  },
  "luminance": 0.10554
}

Semantic roles & 50–950 ramp

primary
#9128AD
secondary
#7EC56C
accent
#E64265
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9128AD

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

Preview Lab → · Contrast checker → · Palette generator →

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