#9126C2#9126C2

#9126C2 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.3% C 0.227 H 311.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9126C2
RGBrgb(145, 38, 194)
HSLhsl(281, 67%, 45%)
HSVhsv(281, 80%, 76%)
CMYKcmyk(25.3%, 80.4%, 0%, 23.9%)
CIE-LABlab(40.08, 65.75, -59.68)
CIE-LCHlch(40.08, 88.79, 317.77°)
OKLaboklab(51.33% 0.152 -0.1691)
OKLCHoklch(51.33% 0.227 311.9)
XYZxyz(22.1060, 11.3016, 52.0454)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126C2 #57C226
analogous
#4326C2 #9126C2 #C226A5
triadic
#9126C2 #C29126 #26C291
tetradic
#9126C2 #C24326 #57C226 #26A5C2
square
#9126C2 #C24326 #57C226 #26A5C2
split-complementary
#9126C2 #A5C226 #26C243
monochromatic
#44125C #6B1C8F #9126C2 #AE4ADB #C57DE6

Accessibility & contrast

On white

6.44
#9126C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9126C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126C2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126C2#FFFFFF#000000##FFFFFF
##9126C21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#8B4E75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9126c2;
/* rgb */ color: rgb(145, 38, 194);
/* oklch */ color: oklch(51.3% 0.227 311.9);
Tailwind
colors: {
  custom: {
    50: '#b66ed5',
    500: '#9126c2',
    950: '#000000',
  },
}
SCSS
$custom: #9126c2;
$custom-light: #b66ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#9126c2",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 194
  },
  "hsl": {
    "h": 281.154,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51329,
    "c": 0.22737,
    "h": 311.9
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#9126C2
secondary
#92CE76
accent
#EA3E74
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9126C2

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

Preview Lab → · Contrast checker → · Palette generator →

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