#9223A9#9223A9

#9223A9 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.209 H 319.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9223A9
RGBrgb(146, 35, 169)
HSLhsl(290, 66%, 40%)
HSVhsv(290, 79%, 66%)
CMYKcmyk(13.6%, 79.3%, 0%, 33.7%)
CIE-LABlab(38.16, 62.02, -48.00)
CIE-LCHlch(38.16, 78.43, 322.27°)
OKLaboklab(49.45% 0.16 -0.1348)
OKLCHoklch(49.45% 0.209 319.9)
XYZxyz(19.6156, 10.1787, 38.4599)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9223A9 #3AA923
analogous
#4F23A9 #9223A9 #A9237D
triadic
#9223A9 #A99223 #23A992
tetradic
#9223A9 #A94F23 #3AA923 #237DA9
square
#9223A9 #A94F23 #3AA923 #237DA9
split-complementary
#9223A9 #7DA923 #23A94F
monochromatic
#3A0E44 #661976 #9223A9 #B934D5 #CB67DF

Accessibility & contrast

On white

6.92
#9223A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9223A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9223A9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9223A9#FFFFFF#000000##FFFFFF
##9223A91.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#305DA6
Tritanopia (blue-blind)
#924066
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9223a9;
/* rgb */ color: rgb(146, 35, 169);
/* oklch */ color: oklch(49.5% 0.209 319.9);
Tailwind
colors: {
  custom: {
    50: '#b66cc3',
    500: '#9223a9',
    950: '#000000',
  },
}
SCSS
$custom: #9223a9;
$custom-light: #b66cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9223a9",
  "rgb": {
    "r": 146,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 289.701,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.49452,
    "c": 0.2092,
    "h": 319.9
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

primary
#9223A9
secondary
#74C563
accent
#E93F5C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9223A9

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

Preview Lab → · Contrast checker → · Palette generator →

#9223A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva