#9226B9#9226B9

#9226B9 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.220 H 314.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9226B9
RGBrgb(146, 38, 185)
HSLhsl(284, 66%, 44%)
HSVhsv(284, 79%, 73%)
CMYKcmyk(21.1%, 79.5%, 0%, 27.5%)
CIE-LABlab(39.58, 64.14, -55.20)
CIE-LCHlch(39.58, 84.62, 319.28°)
OKLaboklab(50.8% 0.1551 -0.1559)
OKLCHoklch(50.8% 0.22 314.8)
XYZxyz(21.3027, 11.0008, 46.8908)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226B9 #4DB926
analogous
#4926B9 #9226B9 #B92696
triadic
#9226B9 #B99226 #26B992
tetradic
#9226B9 #B94926 #4DB926 #2696B9
square
#9226B9 #B94926 #4DB926 #2696B9
split-complementary
#9226B9 #96B926 #26B949
monochromatic
#421153 #6A1C86 #9226B9 #B144D9 #C676E3

Accessibility & contrast

On white

6.56
#9226B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9226B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226B9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226B9#FFFFFF#000000##FFFFFF
##9226B91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#1C60B6
Tritanopia (blue-blind)
#8F4970
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9226b9;
/* rgb */ color: rgb(146, 38, 185);
/* oklch */ color: oklch(50.8% 0.220 314.8);
Tailwind
colors: {
  custom: {
    50: '#b76ecf',
    500: '#9226b9',
    950: '#000000',
  },
}
SCSS
$custom: #9226b9;
$custom-light: #b76ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#9226b9",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 284.082,
    "s": 65.919,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.21993,
    "h": 314.8
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#9226B9
secondary
#88CA70
accent
#E93F6C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9226B9

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

Preview Lab → · Contrast checker → · Palette generator →

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