#9226A6#9226A6

#9226A6 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.204 H 320.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9226A6
RGBrgb(146, 38, 166)
HSLhsl(291, 63%, 40%)
HSVhsv(291, 77%, 65%)
CMYKcmyk(12%, 77.1%, 0%, 34.9%)
CIE-LABlab(38.29, 60.53, -45.99)
CIE-LCHlch(38.29, 76.02, 322.77°)
OKLaboklab(49.48% 0.1579 -0.1289)
OKLCHoklch(49.48% 0.204 320.8)
XYZxyz(19.4293, 10.2514, 37.0243)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226A6 #3AA626
analogous
#5226A6 #9226A6 #A6267A
triadic
#9226A6 #A69226 #26A692
tetradic
#9226A6 #A65226 #3AA626 #267AA6
square
#9226A6 #A65226 #3AA626 #267AA6
split-complementary
#9226A6 #7AA626 #26A652
monochromatic
#3A0F42 #661B74 #9226A6 #B938D1 #CB6ADD

Accessibility & contrast

On white

6.89
#9226A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9226A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226A6
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226A6#FFFFFF#000000##FFFFFF
##9226A61.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#934065
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9226a6;
/* rgb */ color: rgb(146, 38, 166);
/* oklch */ color: oklch(49.5% 0.204 320.8);
Tailwind
colors: {
  custom: {
    50: '#b66dc1',
    500: '#9226a6',
    950: '#000000',
  },
}
SCSS
$custom: #9226a6;
$custom-light: #b66dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9226a6",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 290.625,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.20382,
    "h": 320.8
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#9226A6
secondary
#74C365
accent
#E6425C
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9226A6

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

Preview Lab → · Contrast checker → · Palette generator →

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