#9126AD#9126AD

#9126AD is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.209 H 318.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9126AD
RGBrgb(145, 38, 173)
HSLhsl(288, 64%, 41%)
HSVhsv(288, 78%, 68%)
CMYKcmyk(16.2%, 78%, 0%, 32.2%)
CIE-LABlab(38.59, 61.64, -49.70)
CIE-LCHlch(38.59, 79.18, 321.12°)
OKLaboklab(49.81% 0.1558 -0.1398)
OKLCHoklch(49.81% 0.209 318.1)
XYZxyz(19.9119, 10.4240, 40.4902)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126AD #42AD26
analogous
#4E26AD #9126AD #AD2686
triadic
#9126AD #AD9126 #26AD91
tetradic
#9126AD #AD4E26 #42AD26 #2686AD
square
#9126AD #AD4E26 #42AD26 #2686AD
split-complementary
#9126AD #86AD26 #26AD4E
monochromatic
#3D1049 #671B7B #9126AD #B53CD4 #C86EDF

Accessibility & contrast

On white

6.81
#9126AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9126AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126AD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126AD#FFFFFF#000000##FFFFFF
##9126AD1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B1
Deuteranopia (green-blind)
#2C5EAA
Tritanopia (blue-blind)
#904469
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9126ad;
/* rgb */ color: rgb(145, 38, 173);
/* oklch */ color: oklch(49.8% 0.209 318.1);
Tailwind
colors: {
  custom: {
    50: '#b56dc6',
    500: '#9126ad',
    950: '#000000',
  },
}
SCSS
$custom: #9126ad;
$custom-light: #b56dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9126ad",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 287.556,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49811,
    "c": 0.20934,
    "h": 318.1
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#9126AD
secondary
#7CC669
accent
#E74163
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9126AD

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

Preview Lab → · Contrast checker → · Palette generator →

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