#9126B6#9126B6

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

Color values

HEX#9126B6
RGBrgb(145, 38, 182)
HSLhsl(285, 65%, 43%)
HSVhsv(285, 79%, 71%)
CMYKcmyk(20.3%, 79.1%, 0%, 28.6%)
CIE-LABlab(39.21, 63.37, -54.03)
CIE-LCHlch(39.21, 83.28, 319.55°)
OKLaboklab(50.45% 0.1544 -0.1525)
OKLCHoklch(50.45% 0.217 315.3)
XYZxyz(20.8123, 10.7842, 45.2321)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126B6 #4BB626
analogous
#4926B6 #9126B6 #B62693
triadic
#9126B6 #B69126 #26B691
tetradic
#9126B6 #B64926 #4BB626 #2693B6
square
#9126B6 #B64926 #4BB626 #2693B6
split-complementary
#9126B6 #93B626 #26B649
monochromatic
#401151 #691B83 #9126B6 #B142D7 #C674E2

Accessibility & contrast

On white

6.65
#9126B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9126B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126B6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126B6#FFFFFF#000000##FFFFFF
##9126B61.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#1F5FB3
Tritanopia (blue-blind)
#8E486E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9126b6;
/* rgb */ color: rgb(145, 38, 182);
/* oklch */ color: oklch(50.4% 0.217 315.3);
Tailwind
colors: {
  custom: {
    50: '#b66ecd',
    500: '#9126b6',
    950: '#000000',
  },
}
SCSS
$custom: #9126b6;
$custom-light: #b66ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#9126b6",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 284.583,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.21702,
    "h": 315.3
  },
  "luminance": 0.10783
}

Semantic roles & 50–950 ramp

primary
#9126B6
secondary
#86C96E
accent
#E83F6B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9126B6

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

Preview Lab → · Contrast checker → · Palette generator →

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