#9226BB#9226BB

#9226BB is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.222 H 314.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9226BB
RGBrgb(146, 38, 187)
HSLhsl(283, 66%, 44%)
HSVhsv(283, 80%, 73%)
CMYKcmyk(21.9%, 79.7%, 0%, 26.7%)
CIE-LABlab(39.72, 64.53, -56.15)
CIE-LCHlch(39.72, 85.54, 318.97°)
OKLaboklab(50.95% 0.1547 -0.1587)
OKLCHoklch(50.95% 0.222 314.3)
XYZxyz(21.5153, 11.0858, 48.0105)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226BB #4FBB26
analogous
#4826BB #9226BB #BB269A
triadic
#9226BB #BB9226 #26BB92
tetradic
#9226BB #BB4826 #4FBB26 #269ABB
square
#9226BB #BB4826 #4FBB26 #269ABB
split-complementary
#9226BB #9ABB26 #26BB48
monochromatic
#431155 #6A1C88 #9226BB #B045D9 #C678E4

Accessibility & contrast

On white

6.53
#9226BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9226BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226BB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226BB#FFFFFF#000000##FFFFFF
##9226BB1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#1860B8
Tritanopia (blue-blind)
#8E4A71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9226bb;
/* rgb */ color: rgb(146, 38, 187);
/* oklch */ color: oklch(50.9% 0.222 314.3);
Tailwind
colors: {
  custom: {
    50: '#b76ed0',
    500: '#9226bb',
    950: '#000000',
  },
}
SCSS
$custom: #9226bb;
$custom-light: #b76ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9226bb",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 187
  },
  "hsl": {
    "h": 283.49,
    "s": 66.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.22164,
    "h": 314.3
  },
  "luminance": 0.11085
}

Semantic roles & 50–950 ramp

primary
#9226BB
secondary
#8ACB72
accent
#E93F6E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9226BB

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

Preview Lab → · Contrast checker → · Palette generator →

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