#9226B6#9226B6

#9226B6 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.217 H 315.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9226B6
RGBrgb(146, 38, 182)
HSLhsl(285, 65%, 43%)
HSVhsv(285, 79%, 71%)
CMYKcmyk(19.8%, 79.1%, 0%, 28.6%)
CIE-LABlab(39.37, 63.56, -53.77)
CIE-LCHlch(39.37, 83.25, 319.77°)
OKLaboklab(50.59% 0.1556 -0.1517)
OKLCHoklch(50.59% 0.217 315.7)
XYZxyz(20.9893, 10.8755, 45.2404)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226B6 #4AB626
analogous
#4A26B6 #9226B6 #B62692
triadic
#9226B6 #B69226 #26B692
tetradic
#9226B6 #B64A26 #4AB626 #2692B6
square
#9226B6 #B64A26 #4AB626 #2692B6
split-complementary
#9226B6 #92B626 #26B64A
monochromatic
#411151 #691B83 #9226B6 #B242D7 #C774E2

Accessibility & contrast

On white

6.61
#9226B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9226B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226B6
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226B6#FFFFFF#000000##FFFFFF
##9226B61.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#8F486E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9226b6;
/* rgb */ color: rgb(146, 38, 182);
/* oklch */ color: oklch(50.6% 0.217 315.7);
Tailwind
colors: {
  custom: {
    50: '#b76ecd',
    500: '#9226b6',
    950: '#000000',
  },
}
SCSS
$custom: #9226b6;
$custom-light: #b76ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#9226b6",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 182
  },
  "hsl": {
    "h": 285,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.21736,
    "h": 315.7
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#9226B6
secondary
#85C96E
accent
#E83F6A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9226B6

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

Preview Lab → · Contrast checker → · Palette generator →

#9226B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva