#9226AB#9226AB

#9226AB is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.208 H 319.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9226AB
RGBrgb(146, 38, 171)
HSLhsl(289, 64%, 41%)
HSVhsv(289, 78%, 67%)
CMYKcmyk(14.6%, 77.8%, 0%, 32.9%)
CIE-LABlab(38.62, 61.46, -48.46)
CIE-LCHlch(38.62, 78.26, 321.75°)
OKLaboklab(49.82% 0.1573 -0.1361)
OKLCHoklch(49.82% 0.208 319.1)
XYZxyz(19.8969, 10.4385, 39.4870)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226AB #3FAB26
analogous
#4F26AB #9226AB #AB2681
triadic
#9226AB #AB9226 #26AB92
tetradic
#9226AB #AB4F26 #3FAB26 #2681AB
square
#9226AB #AB4F26 #3FAB26 #2681AB
split-complementary
#9226AB #81AB26 #26AB4F
monochromatic
#3C1047 #671B79 #9226AB #B73BD3 #C96DDF

Accessibility & contrast

On white

6.80
#9226AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9226AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226AB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226AB#FFFFFF#000000##FFFFFF
##9226AB1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#924368
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9226ab;
/* rgb */ color: rgb(146, 38, 171);
/* oklch */ color: oklch(49.8% 0.208 319.1);
Tailwind
colors: {
  custom: {
    50: '#b66dc5',
    500: '#9226ab',
    950: '#000000',
  },
}
SCSS
$custom: #9226ab;
$custom-light: #b66dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9226ab",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 288.722,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49818,
    "c": 0.20802,
    "h": 319.1
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#9226AB
secondary
#79C568
accent
#E74160
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9226AB

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

Preview Lab → · Contrast checker → · Palette generator →

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