#9127BA#9127BA

#9127BA is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.220 H 314.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9127BA
RGBrgb(145, 39, 186)
HSLhsl(283, 65%, 44%)
HSVhsv(283, 79%, 73%)
CMYKcmyk(22%, 79%, 0%, 27.1%)
CIE-LABlab(39.61, 63.84, -55.76)
CIE-LCHlch(39.61, 84.76, 318.87°)
OKLaboklab(50.81% 0.1528 -0.1576)
OKLCHoklch(50.81% 0.22 314.1)
XYZxyz(21.2640, 11.0167, 47.4512)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127BA #50BA27
analogous
#4827BA #9127BA #BA279A
triadic
#9127BA #BA9127 #27BA91
tetradic
#9127BA #BA4827 #50BA27 #279ABA
square
#9127BA #BA4827 #50BA27 #279ABA
split-complementary
#9127BA #9ABA27 #27BA48
monochromatic
#421255 #6A1C87 #9127BA #AF46D8 #C579E3

Accessibility & contrast

On white

6.56
#9127BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9127BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9127BA#FFFFFF#000000##FFFFFF
##9127BA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#1960B7
Tritanopia (blue-blind)
#8D4A71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9127ba;
/* rgb */ color: rgb(145, 39, 186);
/* oklch */ color: oklch(50.8% 0.220 314.1);
Tailwind
colors: {
  custom: {
    50: '#b66ed0',
    500: '#9127ba',
    950: '#000000',
  },
}
SCSS
$custom: #9127ba;
$custom-light: #b66ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9127ba",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 283.265,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50812,
    "c": 0.21954,
    "h": 314.1
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#9127BA
secondary
#8BCB72
accent
#E8406F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9127BA

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

Preview Lab → · Contrast checker → · Palette generator →

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