#9127A6#9127A6

#9127A6 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.202 H 320.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9127A6
RGBrgb(145, 39, 166)
HSLhsl(290, 62%, 40%)
HSVhsv(290, 77%, 65%)
CMYKcmyk(12.7%, 76.5%, 0%, 34.9%)
CIE-LABlab(38.24, 60.00, -46.08)
CIE-LCHlch(38.24, 75.65, 322.48°)
OKLaboklab(49.42% 0.1558 -0.1292)
OKLCHoklch(49.42% 0.202 320.3)
XYZxyz(19.2847, 10.2250, 37.0268)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127A6 #3CA627
analogous
#5227A6 #9127A6 #A6277B
triadic
#9127A6 #A69127 #27A691
tetradic
#9127A6 #A65227 #3CA627 #277BA6
square
#9127A6 #A65227 #3CA627 #277BA6
split-complementary
#9127A6 #7BA627 #27A652
monochromatic
#3A1043 #661B74 #9127A6 #B83AD1 #CA6BDC

Accessibility & contrast

On white

6.90
#9127A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9127A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9127A6
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9127A6#FFFFFF#000000##FFFFFF
##9127A61.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#924165
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9127a6;
/* rgb */ color: rgb(145, 39, 166);
/* oklch */ color: oklch(49.4% 0.202 320.3);
Tailwind
colors: {
  custom: {
    50: '#b56dc1',
    500: '#9127a6',
    950: '#000000',
  },
}
SCSS
$custom: #9127a6;
$custom-light: #b56dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9127a6",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 290.079,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49416,
    "c": 0.20241,
    "h": 320.3
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#9127A6
secondary
#75C366
accent
#E5435E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9127A6

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

Preview Lab → · Contrast checker → · Palette generator →

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