#9126A2#9126A2

#9126A2 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.200 H 321.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9126A2
RGBrgb(145, 38, 162)
HSLhsl(292, 62%, 39%)
HSVhsv(292, 77%, 64%)
CMYKcmyk(10.5%, 76.5%, 0%, 36.5%)
CIE-LABlab(37.87, 59.59, -44.27)
CIE-LCHlch(37.87, 74.24, 323.39°)
OKLaboklab(49.07% 0.1571 -0.1239)
OKLCHoklch(49.07% 0.2 321.7)
XYZxyz(18.8910, 10.0157, 35.1136)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126A2 #37A226
analogous
#5326A2 #9126A2 #A22675
triadic
#9126A2 #A29126 #26A291
tetradic
#9126A2 #A25326 #37A226 #2675A2
square
#9126A2 #A25326 #37A226 #2675A2
split-complementary
#9126A2 #75A226 #26A253
monochromatic
#380F3F #651A70 #9126A2 #BB35D0 #CB67DB

Accessibility & contrast

On white

6.99
#9126A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9126A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126A2
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126A2#FFFFFF#000000##FFFFFF
##9126A21.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#375D9F
Tritanopia (blue-blind)
#923F63
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9126a2;
/* rgb */ color: rgb(145, 38, 162);
/* oklch */ color: oklch(49.1% 0.200 321.7);
Tailwind
colors: {
  custom: {
    50: '#b56dbe',
    500: '#9126a2',
    950: '#000000',
  },
}
SCSS
$custom: #9126a2;
$custom-light: #b56dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9126a2",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 291.774,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49069,
    "c": 0.20008,
    "h": 321.7
  },
  "luminance": 0.10015
}

Semantic roles & 50–950 ramp

primary
#9126A2
secondary
#70C163
accent
#E54359
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9126A2

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

Preview Lab → · Contrast checker → · Palette generator →

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