#9228A2#9228A2

#9228A2 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.198 H 322.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9228A2
RGBrgb(146, 40, 162)
HSLhsl(292, 60%, 40%)
HSVhsv(292, 75%, 64%)
CMYKcmyk(9.9%, 75.3%, 0%, 36.5%)
CIE-LABlab(38.27, 59.13, -43.63)
CIE-LCHlch(38.27, 73.48, 323.58°)
OKLaboklab(49.38% 0.1565 -0.122)
OKLCHoklch(49.38% 0.198 322)
XYZxyz(19.1338, 10.2383, 35.1438)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228A2 #38A228
analogous
#5528A2 #9228A2 #A22875
triadic
#9228A2 #A29228 #28A292
tetradic
#9228A2 #A25528 #38A228 #2875A2
square
#9228A2 #A25528 #38A228 #2875A2
split-complementary
#9228A2 #75A228 #28A255
monochromatic
#3A1040 #661C71 #9228A2 #BB39CE #CC6ADA

Accessibility & contrast

On white

6.89
#9228A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9228A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9228A2#FFFFFF#000000##FFFFFF
##9228A21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#395E9F
Tritanopia (blue-blind)
#944063
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9228a2;
/* rgb */ color: rgb(146, 40, 162);
/* oklch */ color: oklch(49.4% 0.198 322.0);
Tailwind
colors: {
  custom: {
    50: '#b66ebe',
    500: '#9228a2',
    950: '#000000',
  },
}
SCSS
$custom: #9228a2;
$custom-light: #b66ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9228a2",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 292.131,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49383,
    "c": 0.19841,
    "h": 322
  },
  "luminance": 0.10237
}

Semantic roles & 50–950 ramp

primary
#9228A2
secondary
#71C165
accent
#E44459
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9228A2

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

Preview Lab → · Contrast checker → · Palette generator →

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