#9228AA#9228AA

#9228AA is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.205 H 319.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9228AA
RGBrgb(146, 40, 170)
HSLhsl(289, 62%, 41%)
HSVhsv(289, 76%, 67%)
CMYKcmyk(14.1%, 76.5%, 0%, 33.3%)
CIE-LABlab(38.78, 60.61, -47.60)
CIE-LCHlch(38.78, 77.07, 321.86°)
OKLaboklab(49.91% 0.1557 -0.1336)
OKLCHoklch(49.91% 0.205 319.4)
XYZxyz(19.8676, 10.5318, 39.0088)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228AA #40AA28
analogous
#5128AA #9228AA #AA2881
triadic
#9228AA #AA9228 #28AA92
tetradic
#9228AA #AA5128 #40AA28 #2881AA
square
#9228AA #AA5128 #40AA28 #2881AA
split-complementary
#9228AA #81AA28 #28AA51
monochromatic
#3D1147 #671C78 #9228AA #B63ED2 #C96FDD

Accessibility & contrast

On white

6.76
#9228AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9228AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9228AA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9228AA#FFFFFF#000000##FFFFFF
##9228AA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#325FA7
Tritanopia (blue-blind)
#924368
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9228aa;
/* rgb */ color: rgb(146, 40, 170);
/* oklch */ color: oklch(49.9% 0.205 319.4);
Tailwind
colors: {
  custom: {
    50: '#b66ec4',
    500: '#9228aa',
    950: '#000000',
  },
}
SCSS
$custom: #9228aa;
$custom-light: #b66ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#9228aa",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 288.923,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49911,
    "c": 0.20517,
    "h": 319.4
  },
  "luminance": 0.10531
}

Semantic roles & 50–950 ramp

primary
#9228AA
secondary
#7AC46A
accent
#E54361
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9228AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9228AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva