#9127B6#9127B6

#9127B6 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.216 H 315.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9127B6
RGBrgb(145, 39, 182)
HSLhsl(284, 65%, 43%)
HSVhsv(284, 79%, 71%)
CMYKcmyk(20.3%, 78.6%, 0%, 28.6%)
CIE-LABlab(39.33, 63.05, -53.85)
CIE-LCHlch(39.33, 82.92, 319.50°)
OKLaboklab(50.52% 0.1536 -0.152)
OKLCHoklch(50.52% 0.216 315.3)
XYZxyz(20.8447, 10.8490, 45.2429)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127B6 #4CB627
analogous
#4A27B6 #9127B6 #B62793
triadic
#9127B6 #B69127 #27B691
tetradic
#9127B6 #B64A27 #4CB627 #2793B6
square
#9127B6 #B64A27 #4CB627 #2793B6
split-complementary
#9127B6 #93B627 #27B64A
monochromatic
#411151 #691C84 #9127B6 #B143D7 #C676E2

Accessibility & contrast

On white

6.63
#9127B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9127B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9127B6
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9127B6#FFFFFF#000000##FFFFFF
##9127B61.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#215FB3
Tritanopia (blue-blind)
#8E496F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9127b6;
/* rgb */ color: rgb(145, 39, 182);
/* oklch */ color: oklch(50.5% 0.216 315.3);
Tailwind
colors: {
  custom: {
    50: '#b66ecd',
    500: '#9127b6',
    950: '#000000',
  },
}
SCSS
$custom: #9127b6;
$custom-light: #b66ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#9127b6",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 284.476,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50523,
    "c": 0.21609,
    "h": 315.3
  },
  "luminance": 0.10848
}

Semantic roles & 50–950 ramp

primary
#9127B6
secondary
#87C970
accent
#E8406B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9127B6

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

Preview Lab → · Contrast checker → · Palette generator →

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