#9126A6#9126A6

#9126A6 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.203 H 320.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9126A6
RGBrgb(145, 38, 166)
HSLhsl(290, 63%, 40%)
HSVhsv(290, 77%, 65%)
CMYKcmyk(12.7%, 77.1%, 0%, 34.9%)
CIE-LABlab(38.13, 60.33, -46.26)
CIE-LCHlch(38.13, 76.02, 322.52°)
OKLaboklab(49.33% 0.1567 -0.1297)
OKLCHoklch(49.33% 0.203 320.4)
XYZxyz(19.2523, 10.1602, 37.0160)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126A6 #3BA626
analogous
#5126A6 #9126A6 #A6267B
triadic
#9126A6 #A69126 #26A691
tetradic
#9126A6 #A65126 #3BA626 #267BA6
square
#9126A6 #A65126 #3BA626 #267BA6
split-complementary
#9126A6 #7BA626 #26A651
monochromatic
#3A0F42 #651B74 #9126A6 #B838D1 #CA6ADD

Accessibility & contrast

On white

6.93
#9126A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9126A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126A6
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126A6#FFFFFF#000000##FFFFFF
##9126A61.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#345DA3
Tritanopia (blue-blind)
#924165
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9126a6;
/* rgb */ color: rgb(145, 38, 166);
/* oklch */ color: oklch(49.3% 0.203 320.4);
Tailwind
colors: {
  custom: {
    50: '#b56dc1',
    500: '#9126a6',
    950: '#000000',
  },
}
SCSS
$custom: #9126a6;
$custom-light: #b56dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9126a6",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 290.156,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.20342,
    "h": 320.4
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#9126A6
secondary
#74C365
accent
#E6425D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9126A6

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

Preview Lab → · Contrast checker → · Palette generator →

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