#9226A8#9226A8

#9226A8 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.205 H 320.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9226A8
RGBrgb(146, 38, 168)
HSLhsl(290, 63%, 40%)
HSVhsv(290, 77%, 66%)
CMYKcmyk(13.1%, 77.4%, 0%, 34.1%)
CIE-LABlab(38.42, 60.90, -46.98)
CIE-LCHlch(38.42, 76.92, 322.35°)
OKLaboklab(49.61% 0.1577 -0.1318)
OKLCHoklch(49.61% 0.206 320.1)
XYZxyz(19.6142, 10.3254, 37.9981)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9226A8 #3CA826
analogous
#5126A8 #9226A8 #A8267D
triadic
#9226A8 #A89226 #26A892
tetradic
#9226A8 #A85126 #3CA826 #267DA8
square
#9226A8 #A85126 #3CA826 #267DA8
split-complementary
#9226A8 #7DA826 #26A851
monochromatic
#3B0F44 #671B76 #9226A8 #B839D2 #CA6BDE

Accessibility & contrast

On white

6.85
#9226A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9226A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9226A8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9226A8#FFFFFF#000000##FFFFFF
##9226A81.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#335EA5
Tritanopia (blue-blind)
#924166
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9226a8;
/* rgb */ color: rgb(146, 38, 168);
/* oklch */ color: oklch(49.6% 0.205 320.1);
Tailwind
colors: {
  custom: {
    50: '#b66dc2',
    500: '#9226a8',
    950: '#000000',
  },
}
SCSS
$custom: #9226a8;
$custom-light: #b66dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9226a8",
  "rgb": {
    "r": 146,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 289.846,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49614,
    "c": 0.2055,
    "h": 320.1
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#9226A8
secondary
#76C466
accent
#E6425D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9226A8

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

Preview Lab → · Contrast checker → · Palette generator →

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