#9127BF#9127BF

#9127BF is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.2% C 0.224 H 312.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9127BF
RGBrgb(145, 39, 191)
HSLhsl(282, 66%, 45%)
HSVhsv(282, 80%, 75%)
CMYKcmyk(24.1%, 79.6%, 0%, 25.1%)
CIE-LABlab(39.97, 64.83, -58.11)
CIE-LCHlch(39.97, 87.06, 318.13°)
OKLaboklab(51.18% 0.1519 -0.1645)
OKLCHoklch(51.18% 0.224 312.7)
XYZxyz(21.8048, 11.2330, 50.2997)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9127BF #55BF27
analogous
#4527BF #9127BF #BF27A1
triadic
#9127BF #BF9127 #27BF91
tetradic
#9127BF #BF4527 #55BF27 #27A1BF
square
#9127BF #BF4527 #55BF27 #27A1BF
split-complementary
#9127BF #A1BF27 #27BF45
monochromatic
#441259 #6A1D8C #9127BF #AE49DA #C57CE4

Accessibility & contrast

On white

6.47
#9127BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9127BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9127BF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9127BF#FFFFFF#000000##FFFFFF
##9127BF1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0960BC
Tritanopia (blue-blind)
#8C4D74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9127bf;
/* rgb */ color: rgb(145, 39, 191);
/* oklch */ color: oklch(51.2% 0.224 312.7);
Tailwind
colors: {
  custom: {
    50: '#b66ed3',
    500: '#9127bf',
    950: '#000000',
  },
}
SCSS
$custom: #9127bf;
$custom-light: #b66ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9127bf",
  "rgb": {
    "r": 145,
    "g": 39,
    "b": 191
  },
  "hsl": {
    "h": 281.842,
    "s": 66.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.22388,
    "h": 312.7
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#9127BF
secondary
#90CC75
accent
#E93F72
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9127BF

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

Preview Lab → · Contrast checker → · Palette generator →

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