#9226A1#9226A1

#9226A1 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.200 H 322.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9226A1
RGBrgb(146, 38, 161)
HSLhsl(293, 62%, 39%)
HSVhsv(293, 76%, 63%)
CMYKcmyk(9.3%, 76.4%, 0%, 36.9%)
CIE-LABlab(37.97, 59.62, -43.50)
CIE-LCHlch(37.97, 73.80, 323.88°)
OKLaboklab(49.15% 0.1583 -0.1216)
OKLCHoklch(49.15% 0.2 322.5)
XYZxyz(18.9795, 10.0715, 34.6556)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226A1 #35A126
analogous
#5526A1 #9226A1 #A12673
triadic
#9226A1 #A19226 #26A192
tetradic
#9226A1 #A15526 #35A126 #2673A1
square
#9226A1 #A15526 #35A126 #2673A1
split-complementary
#9226A1 #73A126 #26A155
monochromatic
#380F3E #651A6F #9226A1 #BC35CF #CD66DB

Accessibility & contrast

On white

6.97
#9226A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9226A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226A1
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226A1#FFFFFF#000000##FFFFFF
##9226A11.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#395D9E
Tritanopia (blue-blind)
#943E62
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9226a1;
/* rgb */ color: rgb(146, 38, 161);
/* oklch */ color: oklch(49.2% 0.200 322.5);
Tailwind
colors: {
  custom: {
    50: '#b66dbd',
    500: '#9226a1',
    950: '#000000',
  },
}
SCSS
$custom: #9226a1;
$custom-light: #b66dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9226a1",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 292.683,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49152,
    "c": 0.19966,
    "h": 322.5
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#9226A1
secondary
#6EC162
accent
#E54357
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9226A1

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

Preview Lab → · Contrast checker → · Palette generator →

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