#9228A8#9228A8

#9228A8 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.203 H 320.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9228A8
RGBrgb(146, 40, 168)
HSLhsl(290, 62%, 41%)
HSVhsv(290, 76%, 66%)
CMYKcmyk(13.1%, 76.2%, 0%, 34.1%)
CIE-LABlab(38.65, 60.24, -46.61)
CIE-LCHlch(38.65, 76.17, 322.27°)
OKLaboklab(49.78% 0.1559 -0.1307)
OKLCHoklch(49.78% 0.203 320)
XYZxyz(19.6799, 10.4567, 38.0199)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228A8 #3EA828
analogous
#5228A8 #9228A8 #A8287E
triadic
#9228A8 #A89228 #28A892
tetradic
#9228A8 #A85228 #3EA828 #287EA8
square
#9228A8 #A85228 #3EA828 #287EA8
split-complementary
#9228A8 #7EA828 #28A852
monochromatic
#3C1045 #671C77 #9228A8 #B73DD1 #C96EDC

Accessibility & contrast

On white

6.79
#9228A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9228A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9228A8#FFFFFF#000000##FFFFFF
##9228A81.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#345FA5
Tritanopia (blue-blind)
#924267
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9228a8;
/* rgb */ color: rgb(146, 40, 168);
/* oklch */ color: oklch(49.8% 0.203 320.0);
Tailwind
colors: {
  custom: {
    50: '#b66ec2',
    500: '#9228a8',
    950: '#000000',
  },
}
SCSS
$custom: #9228a8;
$custom-light: #b66ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9228a8",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 289.688,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49777,
    "c": 0.20347,
    "h": 320
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#9228A8
secondary
#78C369
accent
#E5435F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9228A8

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

Preview Lab → · Contrast checker → · Palette generator →

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