#9127A5#9127A5

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

Color values

HEX#9127A5
RGBrgb(145, 39, 165)
HSLhsl(290, 62%, 40%)
HSVhsv(290, 76%, 65%)
CMYKcmyk(12.1%, 76.4%, 0%, 35.3%)
CIE-LABlab(38.18, 59.81, -45.58)
CIE-LCHlch(38.18, 75.20, 322.69°)
OKLaboklab(49.35% 0.1559 -0.1277)
OKLCHoklch(49.35% 0.202 320.7)
XYZxyz(19.1933, 10.1884, 36.5456)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127A5 #3BA527
analogous
#5227A5 #9127A5 #A5277A
triadic
#9127A5 #A59127 #27A591
tetradic
#9127A5 #A55227 #3BA527 #277AA5
square
#9127A5 #A55227 #3BA527 #277AA5
split-complementary
#9127A5 #7AA527 #27A552
monochromatic
#3A1042 #651B74 #9127A5 #B839D0 #CA6ADC

Accessibility & contrast

On white

6.91
#9127A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9127A5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9127A5#FFFFFF#000000##FFFFFF
##9127A51.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#355EA2
Tritanopia (blue-blind)
#924165
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9127a5;
/* rgb */ color: rgb(145, 39, 165);
/* oklch */ color: oklch(49.3% 0.202 320.7);
Tailwind
colors: {
  custom: {
    50: '#b56dc0',
    500: '#9127a5',
    950: '#000000',
  },
}
SCSS
$custom: #9127a5;
$custom-light: #b56dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9127a5",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 290.476,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.49349,
    "c": 0.20156,
    "h": 320.7
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#9127A5
secondary
#74C266
accent
#E5435D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9127A5

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

Preview Lab → · Contrast checker → · Palette generator →

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