#9229B9#9229B9

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

Color values

HEX#9229B9
RGBrgb(146, 41, 185)
HSLhsl(284, 64%, 44%)
HSVhsv(284, 78%, 73%)
CMYKcmyk(21.1%, 77.8%, 0%, 27.5%)
CIE-LABlab(39.92, 63.17, -54.66)
CIE-LCHlch(39.92, 83.54, 319.13°)
OKLaboklab(51.04% 0.1527 -0.1544)
OKLCHoklch(51.04% 0.217 314.7)
XYZxyz(21.4025, 11.2004, 46.9240)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9229B9 #50B929
analogous
#4A29B9 #9229B9 #B92998
triadic
#9229B9 #B99229 #29B992
tetradic
#9229B9 #B94A29 #50B929 #2998B9
square
#9229B9 #B94A29 #50B929 #2998B9
split-complementary
#9229B9 #98B929 #29B94A
monochromatic
#431355 #6A1E87 #9229B9 #B049D7 #C67BE2

Accessibility & contrast

On white

6.48
#9229B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9229B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9229B9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9229B9#FFFFFF#000000##FFFFFF
##9229B91.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9229b9;
/* rgb */ color: rgb(146, 41, 185);
/* oklch */ color: oklch(51.0% 0.217 314.7);
Tailwind
colors: {
  custom: {
    50: '#b76fcf',
    500: '#9229b9',
    950: '#000000',
  },
}
SCSS
$custom: #9229b9;
$custom-light: #b76fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9229b9",
  "rgb": {
    "r": 146,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 283.75,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.21711,
    "h": 314.7
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#9229B9
secondary
#8BCA74
accent
#E7416E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9229B9

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

Preview Lab → · Contrast checker → · Palette generator →

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