#9228B9#9228B9

#9228B9 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.0% C 0.218 H 314.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9228B9
RGBrgb(146, 40, 185)
HSLhsl(284, 64%, 44%)
HSVhsv(284, 78%, 73%)
CMYKcmyk(21.1%, 78.4%, 0%, 27.5%)
CIE-LABlab(39.80, 63.50, -54.85)
CIE-LCHlch(39.80, 83.91, 319.18°)
OKLaboklab(50.96% 0.1535 -0.1549)
OKLCHoklch(50.96% 0.218 314.7)
XYZxyz(21.3683, 11.1321, 46.9126)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9228B9 #4FB928
analogous
#4A28B9 #9228B9 #B92898
triadic
#9228B9 #B99228 #28B992
tetradic
#9228B9 #B94A28 #4FB928 #2898B9
square
#9228B9 #B94A28 #4FB928 #2898B9
split-complementary
#9228B9 #98B928 #28B94A
monochromatic
#431254 #6A1D87 #9228B9 #B047D7 #C679E2

Accessibility & contrast

On white

6.51
#9228B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9228B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9228B9#FFFFFF#000000##FFFFFF
##9228B91.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#8E4A70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9228b9;
/* rgb */ color: rgb(146, 40, 185);
/* oklch */ color: oklch(51.0% 0.218 314.7);
Tailwind
colors: {
  custom: {
    50: '#b76fcf',
    500: '#9228b9',
    950: '#000000',
  },
}
SCSS
$custom: #9228b9;
$custom-light: #b76fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9228b9",
  "rgb": {
    "r": 146,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 283.862,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50957,
    "c": 0.21807,
    "h": 314.7
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#9228B9
secondary
#8ACA73
accent
#E7406D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9228B9

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

Preview Lab → · Contrast checker → · Palette generator →

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