#9128AE#9128AE

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

Color values

HEX#9128AE
RGBrgb(145, 40, 174)
HSLhsl(287, 63%, 42%)
HSVhsv(287, 77%, 68%)
CMYKcmyk(16.7%, 77%, 0%, 31.8%)
CIE-LABlab(38.89, 61.18, -49.82)
CIE-LCHlch(38.89, 78.89, 320.84°)
OKLaboklab(50.04% 0.154 -0.1402)
OKLCHoklch(50.04% 0.208 317.7)
XYZxyz(20.0747, 10.5942, 41.0237)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128AE #45AE28
analogous
#4E28AE #9128AE #AE2888
triadic
#9128AE #AE9128 #28AE91
tetradic
#9128AE #AE4E28 #45AE28 #2888AE
square
#9128AE #AE4E28 #45AE28 #2888AE
split-complementary
#9128AE #88AE28 #28AE4E
monochromatic
#3E114A #681D7C #9128AE #B340D3 #C772DF

Accessibility & contrast

On white

6.73
#9128AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9128AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128AE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128AE#FFFFFF#000000##FFFFFF
##9128AE1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#2D5FAB
Tritanopia (blue-blind)
#90456A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9128ae;
/* rgb */ color: rgb(145, 40, 174);
/* oklch */ color: oklch(50.0% 0.208 317.7);
Tailwind
colors: {
  custom: {
    50: '#b56ec7',
    500: '#9128ae',
    950: '#000000',
  },
}
SCSS
$custom: #9128ae;
$custom-light: #b56ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9128ae",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 287.015,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50041,
    "c": 0.20822,
    "h": 317.7
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#9128AE
secondary
#80C66C
accent
#E64266
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9128AE

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

Preview Lab → · Contrast checker → · Palette generator →

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