#9126A4#9126A4

#9126A4 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.202 H 321.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9126A4
RGBrgb(145, 38, 164)
HSLhsl(291, 62%, 40%)
HSVhsv(291, 77%, 64%)
CMYKcmyk(11.6%, 76.8%, 0%, 35.7%)
CIE-LABlab(38.00, 59.96, -45.27)
CIE-LCHlch(38.00, 75.13, 322.95°)
OKLaboklab(49.2% 0.1569 -0.1268)
OKLCHoklch(49.2% 0.202 321)
XYZxyz(19.0702, 10.0873, 36.0573)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126A4 #39A426
analogous
#5226A4 #9126A4 #A42678
triadic
#9126A4 #A49126 #26A491
tetradic
#9126A4 #A45226 #39A426 #2678A4
square
#9126A4 #A45226 #39A426 #2678A4
split-complementary
#9126A4 #78A426 #26A452
monochromatic
#390F41 #651A72 #9126A4 #B937D1 #CB68DC

Accessibility & contrast

On white

6.96
#9126A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9126A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126A4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126A4#FFFFFF#000000##FFFFFF
##9126A41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#355DA1
Tritanopia (blue-blind)
#924064
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9126a4;
/* rgb */ color: rgb(145, 38, 164);
/* oklch */ color: oklch(49.2% 0.202 321.0);
Tailwind
colors: {
  custom: {
    50: '#b56dc0',
    500: '#9126a4',
    950: '#000000',
  },
}
SCSS
$custom: #9126a4;
$custom-light: #b56dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9126a4",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 290.952,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.20174,
    "h": 321
  },
  "luminance": 0.10086
}

Semantic roles & 50–950 ramp

primary
#9126A4
secondary
#72C264
accent
#E5425B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9126A4

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

Preview Lab → · Contrast checker → · Palette generator →

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