#9126A8#9126A8

#9126A8 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.205 H 319.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9126A8
RGBrgb(145, 38, 168)
HSLhsl(289, 63%, 40%)
HSVhsv(289, 77%, 66%)
CMYKcmyk(13.7%, 77.4%, 0%, 34.1%)
CIE-LABlab(38.26, 60.70, -47.25)
CIE-LCHlch(38.26, 76.92, 322.10°)
OKLaboklab(49.47% 0.1565 -0.1326)
OKLCHoklch(49.47% 0.205 319.7)
XYZxyz(19.4372, 10.2341, 37.9898)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126A8 #3DA826
analogous
#5026A8 #9126A8 #A8267E
triadic
#9126A8 #A89126 #26A891
tetradic
#9126A8 #A85026 #3DA826 #267EA8
square
#9126A8 #A85026 #3DA826 #267EA8
split-complementary
#9126A8 #7EA826 #26A850
monochromatic
#3B0F44 #661B76 #9126A8 #B739D2 #C96BDE

Accessibility & contrast

On white

6.89
#9126A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9126A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126A8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126A8#FFFFFF#000000##FFFFFF
##9126A81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#914166
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9126a8;
/* rgb */ color: rgb(145, 38, 168);
/* oklch */ color: oklch(49.5% 0.205 319.7);
Tailwind
colors: {
  custom: {
    50: '#b56dc2',
    500: '#9126a8',
    950: '#000000',
  },
}
SCSS
$custom: #9126a8;
$custom-light: #b56dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9126a8",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 289.385,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.2051,
    "h": 319.7
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#9126A8
secondary
#77C466
accent
#E6425F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9126A8

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

Preview Lab → · Contrast checker → · Palette generator →

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