#9226A4#9226A4

#9226A4 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.202 H 321.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9226A4
RGBrgb(146, 38, 164)
HSLhsl(291, 62%, 40%)
HSVhsv(291, 77%, 64%)
CMYKcmyk(11%, 76.8%, 0%, 35.7%)
CIE-LABlab(38.16, 60.16, -45.00)
CIE-LCHlch(38.16, 75.13, 323.21°)
OKLaboklab(49.35% 0.1581 -0.126)
OKLCHoklch(49.35% 0.202 321.4)
XYZxyz(19.2473, 10.1786, 36.0656)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226A4 #38A426
analogous
#5326A4 #9226A4 #A42677
triadic
#9226A4 #A49226 #26A492
tetradic
#9226A4 #A45326 #38A426 #2677A4
square
#9226A4 #A45326 #38A426 #2677A4
split-complementary
#9226A4 #77A426 #26A453
monochromatic
#3A0F41 #661A72 #9226A4 #BB37D1 #CC68DC

Accessibility & contrast

On white

6.92
#9226A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9226A4
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226A4#FFFFFF#000000##FFFFFF
##9226A41.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#933F64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9226a4;
/* rgb */ color: rgb(146, 38, 164);
/* oklch */ color: oklch(49.3% 0.202 321.4);
Tailwind
colors: {
  custom: {
    50: '#b66dc0',
    500: '#9226a4',
    950: '#000000',
  },
}
SCSS
$custom: #9226a4;
$custom-light: #b66dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9226a4",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 291.429,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.20216,
    "h": 321.4
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

primary
#9226A4
secondary
#71C264
accent
#E5425A
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9226A4

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

Preview Lab → · Contrast checker → · Palette generator →

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