#9128AF#9128AF

#9128AF is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.209 H 317.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9128AF
RGBrgb(145, 40, 175)
HSLhsl(287, 63%, 42%)
HSVhsv(287, 77%, 69%)
CMYKcmyk(17.1%, 77.1%, 0%, 31.4%)
CIE-LABlab(38.96, 61.37, -50.30)
CIE-LCHlch(38.96, 79.35, 320.66°)
OKLaboklab(50.11% 0.1538 -0.1416)
OKLCHoklch(50.11% 0.209 317.4)
XYZxyz(20.1726, 10.6334, 41.5390)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9128AF #46AF28
analogous
#4E28AF #9128AF #AF2889
triadic
#9128AF #AF9128 #28AF91
tetradic
#9128AF #AF4E28 #46AF28 #2889AF
square
#9128AF #AF4E28 #46AF28 #2889AF
split-complementary
#9128AF #89AF28 #28AF4E
monochromatic
#3E114B #681D7D #9128AF #B341D4 #C773DF

Accessibility & contrast

On white

6.72
#9128AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9128AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9128AF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9128AF#FFFFFF#000000##FFFFFF
##9128AF1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#90466B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9128af;
/* rgb */ color: rgb(145, 40, 175);
/* oklch */ color: oklch(50.1% 0.209 317.4);
Tailwind
colors: {
  custom: {
    50: '#b56ec8',
    500: '#9128af',
    950: '#000000',
  },
}
SCSS
$custom: #9128af;
$custom-light: #b56ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9128af",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 286.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5011,
    "c": 0.20908,
    "h": 317.4
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#9128AF
secondary
#81C66D
accent
#E64266
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9128AF

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

Preview Lab → · Contrast checker → · Palette generator →

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