#9127BB#9127BB

#9127BB is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.220 H 313.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9127BB
RGBrgb(145, 39, 187)
HSLhsl(283, 65%, 44%)
HSVhsv(283, 79%, 73%)
CMYKcmyk(22.5%, 79.1%, 0%, 26.7%)
CIE-LABlab(39.68, 64.04, -56.23)
CIE-LCHlch(39.68, 85.22, 318.72°)
OKLaboklab(50.89% 0.1527 -0.159)
OKLCHoklch(50.89% 0.22 313.8)
XYZxyz(21.3707, 11.0594, 48.0130)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127BB #51BB27
analogous
#4727BB #9127BB #BB279B
triadic
#9127BB #BB9127 #27BB91
tetradic
#9127BB #BB4727 #51BB27 #279BBB
square
#9127BB #BB4727 #51BB27 #279BBB
split-complementary
#9127BB #9BBB27 #27BB47
monochromatic
#421256 #6A1C88 #9127BB #AF47D9 #C579E3

Accessibility & contrast

On white

6.54
#9127BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9127BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9127BB#FFFFFF#000000##FFFFFF
##9127BB1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#1660B8
Tritanopia (blue-blind)
#8D4B71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9127bb;
/* rgb */ color: rgb(145, 39, 187);
/* oklch */ color: oklch(50.9% 0.220 313.8);
Tailwind
colors: {
  custom: {
    50: '#b66ed0',
    500: '#9127bb',
    950: '#000000',
  },
}
SCSS
$custom: #9127bb;
$custom-light: #b66ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9127bb",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 282.973,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50885,
    "c": 0.22041,
    "h": 313.8
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#9127BB
secondary
#8CCB73
accent
#E83F6F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9127BB

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

Preview Lab → · Contrast checker → · Palette generator →

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