#9224BA#9224BA

#9224BA is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.7% C 0.223 H 314.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9224BA
RGBrgb(146, 36, 186)
HSLhsl(284, 68%, 44%)
HSVhsv(284, 81%, 73%)
CMYKcmyk(21.5%, 80.6%, 0%, 27.1%)
CIE-LABlab(39.44, 64.94, -56.02)
CIE-LCHlch(39.44, 85.77, 319.22°)
OKLaboklab(50.73% 0.1564 -0.1583)
OKLCHoklch(50.73% 0.223 314.7)
XYZxyz(21.3464, 10.9187, 47.4279)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9224BA #4CBA24
analogous
#4724BA #9224BA #BA2497
triadic
#9224BA #BA9224 #24BA92
tetradic
#9224BA #BA4724 #4CBA24 #2497BA
square
#9224BA #BA4724 #4CBA24 #2497BA
split-complementary
#9224BA #97BA24 #24BA47
monochromatic
#421053 #6A1A87 #9224BA #B141DA #C674E4

Accessibility & contrast

On white

6.60
#9224BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9224BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9224BA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9224BA#FFFFFF#000000##FFFFFF
##9224BA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#175FB7
Tritanopia (blue-blind)
#8E4970
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9224ba;
/* rgb */ color: rgb(146, 36, 186);
/* oklch */ color: oklch(50.7% 0.223 314.7);
Tailwind
colors: {
  custom: {
    50: '#b76dd0',
    500: '#9224ba',
    950: '#000000',
  },
}
SCSS
$custom: #9224ba;
$custom-light: #b76dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9224ba",
  "rgb": {
    "r": 146,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 284,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.22255,
    "h": 314.7
  },
  "luminance": 0.10918
}

Semantic roles & 50–950 ramp

primary
#9224BA
secondary
#87CB6E
accent
#EA3D6C
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9224BA

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

Preview Lab → · Contrast checker → · Palette generator →

#9224BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva