#9226A5#9226A5

#9226A5 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.203 H 321.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9226A5
RGBrgb(146, 38, 165)
HSLhsl(291, 63%, 40%)
HSVhsv(291, 77%, 65%)
CMYKcmyk(11.5%, 77%, 0%, 35.3%)
CIE-LABlab(38.23, 60.35, -45.50)
CIE-LCHlch(38.23, 75.58, 322.99°)
OKLaboklab(49.41% 0.158 -0.1275)
OKLCHoklch(49.41% 0.203 321.1)
XYZxyz(19.3379, 10.2149, 36.5431)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226A5 #39A526
analogous
#5326A5 #9226A5 #A52678
triadic
#9226A5 #A59226 #26A592
tetradic
#9226A5 #A55326 #39A526 #2678A5
square
#9226A5 #A55326 #39A526 #2678A5
split-complementary
#9226A5 #78A526 #26A553
monochromatic
#3A0F42 #661B73 #9226A5 #BA37D1 #CB69DC

Accessibility & contrast

On white

6.90
#9226A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9226A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226A5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226A5#FFFFFF#000000##FFFFFF
##9226A51.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#934065
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9226a5;
/* rgb */ color: rgb(146, 38, 165);
/* oklch */ color: oklch(49.4% 0.203 321.1);
Tailwind
colors: {
  custom: {
    50: '#b66dc0',
    500: '#9226a5',
    950: '#000000',
  },
}
SCSS
$custom: #9226a5;
$custom-light: #b66dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9226a5",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 291.024,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49414,
    "c": 0.20299,
    "h": 321.1
  },
  "luminance": 0.10214
}

Semantic roles & 50–950 ramp

primary
#9226A5
secondary
#72C364
accent
#E6425B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9226A5

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

Preview Lab → · Contrast checker → · Palette generator →

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