#9127AE#9127AE

#9127AE is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.209 H 317.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9127AE
RGBrgb(145, 39, 174)
HSLhsl(287, 63%, 42%)
HSVhsv(287, 78%, 68%)
CMYKcmyk(16.7%, 77.6%, 0%, 31.8%)
CIE-LABlab(38.77, 61.51, -50.00)
CIE-LCHlch(38.77, 79.27, 320.89°)
OKLaboklab(49.96% 0.1548 -0.1407)
OKLCHoklch(49.96% 0.209 317.7)
XYZxyz(20.0415, 10.5277, 41.0126)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127AE #44AE27
analogous
#4E27AE #9127AE #AE2788
triadic
#9127AE #AE9127 #27AE91
tetradic
#9127AE #AE4E27 #44AE27 #2788AE
square
#9127AE #AE4E27 #44AE27 #2788AE
split-complementary
#9127AE #88AE27 #27AE4E
monochromatic
#3E114A #671C7C #9127AE #B43ED4 #C770DF

Accessibility & contrast

On white

6.76
#9127AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9127AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9127AE#FFFFFF#000000##FFFFFF
##9127AE1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#2C5EAB
Tritanopia (blue-blind)
#90456A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9127ae;
/* rgb */ color: rgb(145, 39, 174);
/* oklch */ color: oklch(50.0% 0.209 317.7);
Tailwind
colors: {
  custom: {
    50: '#b56ec7',
    500: '#9127ae',
    950: '#000000',
  },
}
SCSS
$custom: #9127ae;
$custom-light: #b56ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9127ae",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 287.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.20921,
    "h": 317.7
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#9127AE
secondary
#7EC66B
accent
#E64165
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9127AE

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

Preview Lab → · Contrast checker → · Palette generator →

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