#9127AA#9127AA

#9127AA is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.206 H 319.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9127AA
RGBrgb(145, 39, 170)
HSLhsl(289, 63%, 41%)
HSVhsv(289, 77%, 67%)
CMYKcmyk(14.7%, 77.1%, 0%, 33.3%)
CIE-LABlab(38.51, 60.75, -48.05)
CIE-LCHlch(38.51, 77.45, 321.66°)
OKLaboklab(49.69% 0.1553 -0.135)
OKLCHoklch(49.69% 0.206 319)
XYZxyz(19.6573, 10.3740, 38.9894)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127AA #40AA27
analogous
#5027AA #9127AA #AA2781
triadic
#9127AA #AA9127 #27AA91
tetradic
#9127AA #AA5027 #40AA27 #2781AA
square
#9127AA #AA5027 #40AA27 #2781AA
split-complementary
#9127AA #81AA27 #27AA50
monochromatic
#3C1046 #671C78 #9127AA #B63CD2 #C86EDE

Accessibility & contrast

On white

6.83
#9127AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9127AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9127AA#FFFFFF#000000##FFFFFF
##9127AA1.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)
#0054AE
Deuteranopia (green-blind)
#305EA7
Tritanopia (blue-blind)
#914368
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9127aa;
/* rgb */ color: rgb(145, 39, 170);
/* oklch */ color: oklch(49.7% 0.206 319.0);
Tailwind
colors: {
  custom: {
    50: '#b56dc4',
    500: '#9127aa',
    950: '#000000',
  },
}
SCSS
$custom: #9127aa;
$custom-light: #b56dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#9127aa",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 288.55,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.2058,
    "h": 319
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#9127AA
secondary
#7AC469
accent
#E64261
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9127AA

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

Preview Lab → · Contrast checker → · Palette generator →

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