#9228A4#9228A4

#9228A4 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 321.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9228A4
RGBrgb(146, 40, 164)
HSLhsl(291, 61%, 40%)
HSVhsv(291, 76%, 64%)
CMYKcmyk(11%, 75.6%, 0%, 35.7%)
CIE-LABlab(38.39, 59.50, -44.63)
CIE-LCHlch(38.39, 74.37, 323.13°)
OKLaboklab(49.51% 0.1563 -0.1249)
OKLCHoklch(49.51% 0.2 321.4)
XYZxyz(19.3129, 10.3100, 36.0875)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228A4 #3AA428
analogous
#5428A4 #9228A4 #A42878
triadic
#9228A4 #A49228 #28A492
tetradic
#9228A4 #A45428 #3AA428 #2878A4
square
#9228A4 #A45428 #3AA428 #2878A4
split-complementary
#9228A4 #78A428 #28A454
monochromatic
#3A1042 #661C73 #9228A4 #B93ACF #CB6BDB

Accessibility & contrast

On white

6.86
#9228A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9228A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9228A4#FFFFFF#000000##FFFFFF
##9228A41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#385EA1
Tritanopia (blue-blind)
#934065
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9228a4;
/* rgb */ color: rgb(146, 40, 164);
/* oklch */ color: oklch(49.5% 0.200 321.4);
Tailwind
colors: {
  custom: {
    50: '#b66ec0',
    500: '#9228a4',
    950: '#000000',
  },
}
SCSS
$custom: #9228a4;
$custom-light: #b66ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9228a4",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 291.29,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.49513,
    "c": 0.20009,
    "h": 321.4
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#9228A4
secondary
#74C166
accent
#E4445B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9228A4

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

Preview Lab → · Contrast checker → · Palette generator →

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