#9127BC#9127BC

#9127BC is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.0% C 0.221 H 313.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9127BC
RGBrgb(145, 39, 188)
HSLhsl(283, 66%, 45%)
HSVhsv(283, 79%, 74%)
CMYKcmyk(22.9%, 79.3%, 0%, 26.3%)
CIE-LABlab(39.75, 64.24, -56.70)
CIE-LCHlch(39.75, 85.68, 318.57°)
OKLaboklab(50.96% 0.1525 -0.1604)
OKLCHoklch(50.96% 0.221 313.5)
XYZxyz(21.4781, 11.1023, 48.5788)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127BC #52BC27
analogous
#4727BC #9127BC #BC279C
triadic
#9127BC #BC9127 #27BC91
tetradic
#9127BC #BC4727 #52BC27 #279CBC
square
#9127BC #BC4727 #52BC27 #279CBC
split-complementary
#9127BC #9CBC27 #27BC47
monochromatic
#431257 #6A1C89 #9127BC #AF47D9 #C57AE3

Accessibility & contrast

On white

6.52
#9127BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9127BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9127BC#FFFFFF#000000##FFFFFF
##9127BC1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#8C4B72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9127bc;
/* rgb */ color: rgb(145, 39, 188);
/* oklch */ color: oklch(51.0% 0.221 313.5);
Tailwind
colors: {
  custom: {
    50: '#b66ed1',
    500: '#9127bc',
    950: '#000000',
  },
}
SCSS
$custom: #9127bc;
$custom-light: #b66ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9127bc",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 282.685,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50958,
    "c": 0.22128,
    "h": 313.5
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#9127BC
secondary
#8DCB73
accent
#E93F70
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9127BC

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

Preview Lab → · Contrast checker → · Palette generator →

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