#9127BE#9127BE

#9127BE is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.223 H 313.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9127BE
RGBrgb(145, 39, 190)
HSLhsl(282, 66%, 45%)
HSVhsv(282, 79%, 75%)
CMYKcmyk(23.7%, 79.5%, 0%, 25.5%)
CIE-LABlab(39.90, 64.63, -57.64)
CIE-LCHlch(39.90, 86.60, 318.27°)
OKLaboklab(51.11% 0.1521 -0.1631)
OKLCHoklch(51.11% 0.223 313)
XYZxyz(21.6952, 11.1892, 49.7221)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127BE #54BE27
analogous
#4527BE #9127BE #BE27A0
triadic
#9127BE #BE9127 #27BE91
tetradic
#9127BE #BE4527 #54BE27 #27A0BE
square
#9127BE #BE4527 #54BE27 #27A0BE
split-complementary
#9127BE #A0BE27 #27BE45
monochromatic
#431258 #6A1D8B #9127BE #AE49DA #C57BE4

Accessibility & contrast

On white

6.49
#9127BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9127BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9127BE#FFFFFF#000000##FFFFFF
##9127BE1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0D60BB
Tritanopia (blue-blind)
#8C4C73
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9127be;
/* rgb */ color: rgb(145, 39, 190);
/* oklch */ color: oklch(51.1% 0.223 313.0);
Tailwind
colors: {
  custom: {
    50: '#b66ed2',
    500: '#9127be',
    950: '#000000',
  },
}
SCSS
$custom: #9127be;
$custom-light: #b66ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9127be",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 190
  },
  "hsl": {
    "h": 282.119,
    "s": 65.939,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.22302,
    "h": 313
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#9127BE
secondary
#8FCC75
accent
#E93F72
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9127BE

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

Preview Lab → · Contrast checker → · Palette generator →

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