#9127AB#9127AB

#9127AB is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.207 H 318.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9127AB
RGBrgb(145, 39, 171)
HSLhsl(288, 63%, 41%)
HSVhsv(288, 77%, 67%)
CMYKcmyk(15.2%, 77.2%, 0%, 32.9%)
CIE-LABlab(38.57, 60.94, -48.54)
CIE-LCHlch(38.57, 77.91, 321.46°)
OKLaboklab(49.75% 0.1552 -0.1364)
OKLCHoklch(49.75% 0.207 318.7)
XYZxyz(19.7523, 10.4120, 39.4895)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127AB #41AB27
analogous
#4F27AB #9127AB #AB2783
triadic
#9127AB #AB9127 #27AB91
tetradic
#9127AB #AB4F27 #41AB27 #2783AB
square
#9127AB #AB4F27 #41AB27 #2783AB
split-complementary
#9127AB #83AB27 #27AB4F
monochromatic
#3C1047 #671C79 #9127AB #B53DD3 #C86EDE

Accessibility & contrast

On white

6.81
#9127AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9127AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9127AB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9127AB#FFFFFF#000000##FFFFFF
##9127AB1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#914368
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9127ab;
/* rgb */ color: rgb(145, 39, 171);
/* oklch */ color: oklch(49.8% 0.207 318.7);
Tailwind
colors: {
  custom: {
    50: '#b56ec5',
    500: '#9127ab',
    950: '#000000',
  },
}
SCSS
$custom: #9127ab;
$custom-light: #b56ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#9127ab",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 288.182,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49753,
    "c": 0.20665,
    "h": 318.7
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#9127AB
secondary
#7BC569
accent
#E64262
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9127AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9127AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva