#9223A6#9223A6

#9223A6 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.207 H 320.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9223A6
RGBrgb(146, 35, 166)
HSLhsl(291, 65%, 39%)
HSVhsv(291, 79%, 65%)
CMYKcmyk(12%, 78.9%, 0%, 34.9%)
CIE-LABlab(37.96, 61.47, -46.52)
CIE-LCHlch(37.96, 77.09, 322.89°)
OKLaboklab(49.25% 0.1604 -0.1304)
OKLCHoklch(49.25% 0.207 320.9)
XYZxyz(19.3372, 10.0673, 36.9936)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9223A6 #37A623
analogous
#5123A6 #9223A6 #A62379
triadic
#9223A6 #A69223 #23A692
tetradic
#9223A6 #A65123 #37A623 #2379A6
square
#9223A6 #A65123 #37A623 #2379A6
split-complementary
#9223A6 #79A623 #23A651
monochromatic
#390E41 #661873 #9223A6 #BB32D4 #CC65DF

Accessibility & contrast

On white

6.97
#9223A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9223A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9223A6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9223A6#FFFFFF#000000##FFFFFF
##9223A61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#335DA3
Tritanopia (blue-blind)
#933F65
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9223a6;
/* rgb */ color: rgb(146, 35, 166);
/* oklch */ color: oklch(49.2% 0.207 320.9);
Tailwind
colors: {
  custom: {
    50: '#b66cc1',
    500: '#9223a6',
    950: '#000000',
  },
}
SCSS
$custom: #9223a6;
$custom-light: #b66cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9223a6",
  "rgb": {
    "r": 146,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 290.84,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.20673,
    "h": 320.9
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#9223A6
secondary
#70C461
accent
#E84059
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9223A6

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

Preview Lab → · Contrast checker → · Palette generator →

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