#9A22A5#9A22A5

#9A22A5 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.210 H 324.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9A22A5
RGBrgb(154, 34, 165)
HSLhsl(295, 66%, 39%)
HSVhsv(295, 79%, 65%)
CMYKcmyk(6.7%, 79.4%, 0%, 35.3%)
CIE-LABlab(39.13, 63.16, -43.98)
CIE-LCHlch(39.13, 76.97, 325.15°)
OKLaboklab(50.31% 0.1705 -0.1228)
OKLCHoklch(50.31% 0.21 324.2)
XYZxyz(20.6894, 10.7320, 36.5718)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A22A5 #2DA522
analogous
#5922A5 #9A22A5 #A5226F
triadic
#9A22A5 #A59A22 #22A59A
tetradic
#9A22A5 #A55922 #2DA522 #226FA5
square
#9A22A5 #A55922 #2DA522 #226FA5
split-complementary
#9A22A5 #6FA522 #22A559
monochromatic
#3B0D40 #6B1872 #9A22A5 #C730D4 #D463DF

Accessibility & contrast

On white

6.67
#9A22A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9A22A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A22A5
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A22A5#FFFFFF#000000##FFFFFF
##9A22A51.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#3D61A2
Tritanopia (blue-blind)
#9D3C64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a22a5;
/* rgb */ color: rgb(154, 34, 165);
/* oklch */ color: oklch(50.3% 0.210 324.2);
Tailwind
colors: {
  custom: {
    50: '#bc6dc0',
    500: '#9a22a5',
    950: '#000000',
  },
}
SCSS
$custom: #9a22a5;
$custom-light: #bc6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a22a5",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 294.962,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50309,
    "c": 0.2101,
    "h": 324.2
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#9A22A5
secondary
#67C45F
accent
#E93F4D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A22A5

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

Preview Lab → · Contrast checker → · Palette generator →

#9A22A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva