#9126BC#9126BC

#9126BC is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.9% C 0.222 H 313.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9126BC
RGBrgb(145, 38, 188)
HSLhsl(283, 66%, 44%)
HSVhsv(283, 80%, 74%)
CMYKcmyk(22.9%, 79.8%, 0%, 26.3%)
CIE-LABlab(39.64, 64.55, -56.88)
CIE-LCHlch(39.64, 86.03, 318.62°)
OKLaboklab(50.88% 0.1532 -0.1609)
OKLCHoklch(50.88% 0.222 313.6)
XYZxyz(21.4457, 11.0375, 48.5680)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9126BC #51BC26
analogous
#4626BC #9126BC #BC269C
triadic
#9126BC #BC9126 #26BC91
tetradic
#9126BC #BC4626 #51BC26 #269CBC
square
#9126BC #BC4626 #51BC26 #269CBC
split-complementary
#9126BC #9CBC26 #26BC46
monochromatic
#421156 #6A1C89 #9126BC #AF46DA #C579E4

Accessibility & contrast

On white

6.55
#9126BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9126BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9126BC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9126BC#FFFFFF#000000##FFFFFF
##9126BC1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#1260B9
Tritanopia (blue-blind)
#8C4B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9126bc;
/* rgb */ color: rgb(145, 38, 188);
/* oklch */ color: oklch(50.9% 0.222 313.6);
Tailwind
colors: {
  custom: {
    50: '#b66ed1',
    500: '#9126bc',
    950: '#000000',
  },
}
SCSS
$custom: #9126bc;
$custom-light: #b66ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9126bc",
  "rgb": {
    "r": 145,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 282.8,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.22218,
    "h": 313.6
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#9126BC
secondary
#8CCC72
accent
#E93F6F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9126BC

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

Preview Lab → · Contrast checker → · Palette generator →

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