#9226A2#9226A2

#9226A2 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.200 H 322.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9226A2
RGBrgb(146, 38, 162)
HSLhsl(292, 62%, 39%)
HSVhsv(292, 77%, 64%)
CMYKcmyk(9.9%, 76.5%, 0%, 36.5%)
CIE-LABlab(38.03, 59.80, -44.00)
CIE-LCHlch(38.03, 74.24, 323.65°)
OKLaboklab(49.22% 0.1583 -0.1231)
OKLCHoklch(49.22% 0.2 322.1)
XYZxyz(19.0681, 10.1070, 35.1219)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226A2 #36A226
analogous
#5426A2 #9226A2 #A22674
triadic
#9226A2 #A29226 #26A292
tetradic
#9226A2 #A25426 #36A226 #2674A2
square
#9226A2 #A25426 #36A226 #2674A2
split-complementary
#9226A2 #74A226 #26A254
monochromatic
#390F3F #651A70 #9226A2 #BC35D0 #CC67DB

Accessibility & contrast

On white

6.95
#9226A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9226A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226A2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226A2#FFFFFF#000000##FFFFFF
##9226A21.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#385D9F
Tritanopia (blue-blind)
#943E63
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9226a2;
/* rgb */ color: rgb(146, 38, 162);
/* oklch */ color: oklch(49.2% 0.200 322.1);
Tailwind
colors: {
  custom: {
    50: '#b66dbe',
    500: '#9226a2',
    950: '#000000',
  },
}
SCSS
$custom: #9226a2;
$custom-light: #b66dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9226a2",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 292.258,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49217,
    "c": 0.20049,
    "h": 322.1
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#9226A2
secondary
#6FC163
accent
#E54358
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9226A2

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

Preview Lab → · Contrast checker → · Palette generator →

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