#9126BA#9126BA

#9126BA is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.220 H 314.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9126BA
RGBrgb(145, 38, 186)
HSLhsl(283, 66%, 44%)
HSVhsv(283, 80%, 73%)
CMYKcmyk(22%, 79.6%, 0%, 27.1%)
CIE-LABlab(39.50, 64.16, -55.93)
CIE-LCHlch(39.50, 85.12, 318.92°)
OKLaboklab(50.74% 0.1536 -0.1581)
OKLCHoklch(50.74% 0.22 314.2)
XYZxyz(21.2316, 10.9519, 47.4404)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126BA #4FBA26
analogous
#4726BA #9126BA #BA2699
triadic
#9126BA #BA9126 #26BA91
tetradic
#9126BA #BA4726 #4FBA26 #2699BA
square
#9126BA #BA4726 #4FBA26 #2699BA
split-complementary
#9126BA #99BA26 #26BA47
monochromatic
#421154 #691C87 #9126BA #B044D9 #C577E3

Accessibility & contrast

On white

6.58
#9126BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9126BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126BA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126BA#FFFFFF#000000##FFFFFF
##9126BA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#175FB7
Tritanopia (blue-blind)
#8D4A71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9126ba;
/* rgb */ color: rgb(145, 38, 186);
/* oklch */ color: oklch(50.7% 0.220 314.2);
Tailwind
colors: {
  custom: {
    50: '#b66ed0',
    500: '#9126ba',
    950: '#000000',
  },
}
SCSS
$custom: #9126ba;
$custom-light: #b66ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9126ba",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 283.378,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.22046,
    "h": 314.2
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#9126BA
secondary
#8ACB71
accent
#E93F6E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9126BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9126BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva