#9127B5#9127B5

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

Color values

HEX#9127B5
RGBrgb(145, 39, 181)
HSLhsl(285, 65%, 43%)
HSVhsv(285, 78%, 71%)
CMYKcmyk(19.9%, 78.5%, 0%, 29%)
CIE-LABlab(39.25, 62.86, -53.38)
CIE-LCHlch(39.25, 82.46, 319.66°)
OKLaboklab(50.45% 0.1537 -0.1506)
OKLCHoklch(50.45% 0.215 315.6)
XYZxyz(20.7417, 10.8078, 44.7006)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127B5 #4BB527
analogous
#4A27B5 #9127B5 #B52792
triadic
#9127B5 #B59127 #27B591
tetradic
#9127B5 #B54A27 #4BB527 #2792B5
square
#9127B5 #B54A27 #4BB527 #2792B5
split-complementary
#9127B5 #92B527 #27B54A
monochromatic
#401150 #691C83 #9127B5 #B143D6 #C675E1

Accessibility & contrast

On white

6.64
#9127B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9127B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9127B5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9127B5#FFFFFF#000000##FFFFFF
##9127B51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#225FB2
Tritanopia (blue-blind)
#8E486E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9127b5;
/* rgb */ color: rgb(145, 39, 181);
/* oklch */ color: oklch(50.5% 0.215 315.6);
Tailwind
colors: {
  custom: {
    50: '#b66ecc',
    500: '#9127b5',
    950: '#000000',
  },
}
SCSS
$custom: #9127b5;
$custom-light: #b66ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#9127b5",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 181
  },
  "hsl": {
    "h": 284.789,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50452,
    "c": 0.21523,
    "h": 315.6
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#9127B5
secondary
#86C96F
accent
#E8406B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9127B5

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

Preview Lab → · Contrast checker → · Palette generator →

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