#9126C3#9126C3

#9126C3 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.4% C 0.228 H 311.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9126C3
RGBrgb(145, 38, 195)
HSLhsl(281, 67%, 46%)
HSVhsv(281, 81%, 76%)
CMYKcmyk(25.6%, 80.5%, 0%, 23.5%)
CIE-LABlab(40.16, 65.95, -60.14)
CIE-LCHlch(40.16, 89.25, 317.63°)
OKLaboklab(51.4% 0.1517 -0.1705)
OKLCHoklch(51.4% 0.228 311.7)
XYZxyz(22.2186, 11.3467, 52.6389)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126C3 #58C326
analogous
#4326C3 #9126C3 #C326A6
triadic
#9126C3 #C39126 #26C391
tetradic
#9126C3 #C34326 #58C326 #26A6C3
square
#9126C3 #C34326 #58C326 #26A6C3
split-complementary
#9126C3 #A6C326 #26C343
monochromatic
#45125D #6B1C90 #9126C3 #AD4ADC #C57EE6

Accessibility & contrast

On white

6.42
#9126C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9126C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126C3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126C3#FFFFFF#000000##FFFFFF
##9126C31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#8B4E76
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9126c3;
/* rgb */ color: rgb(145, 38, 195);
/* oklch */ color: oklch(51.4% 0.228 311.7);
Tailwind
colors: {
  custom: {
    50: '#b66ed6',
    500: '#9126c3',
    950: '#000000',
  },
}
SCSS
$custom: #9126c3;
$custom-light: #b66ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#9126c3",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 195
  },
  "hsl": {
    "h": 280.892,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.22824,
    "h": 311.7
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#9126C3
secondary
#93CE77
accent
#EA3E75
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9126C3

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

Preview Lab → · Contrast checker → · Palette generator →

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