#9A22AF#9A22AF

#9A22AF is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 51.0% C 0.218 H 321.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9A22AF
RGBrgb(154, 34, 175)
HSLhsl(291, 67%, 41%)
HSVhsv(291, 81%, 69%)
CMYKcmyk(12%, 80.6%, 0%, 31.4%)
CIE-LABlab(39.77, 64.92, -48.92)
CIE-LCHlch(39.77, 81.29, 323.00°)
OKLaboklab(50.97% 0.1694 -0.1372)
OKLCHoklch(50.97% 0.218 321)
XYZxyz(21.6354, 11.1104, 41.5541)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A22AF #37AF22
analogous
#5322AF #9A22AF #AF227D
triadic
#9A22AF #AF9A22 #22AF9A
tetradic
#9A22AF #AF5322 #37AF22 #227DAF
square
#9A22AF #AF5322 #37AF22 #227DAF
split-complementary
#9A22AF #7DAF22 #22AF53
monochromatic
#400E49 #6D187C #9A22AF #C036D8 #D069E2

Accessibility & contrast

On white

6.52
#9A22AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9A22AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A22AF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A22AF#FFFFFF#000000##FFFFFF
##9A22AF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#9B416A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a22af;
/* rgb */ color: rgb(154, 34, 175);
/* oklch */ color: oklch(51.0% 0.218 321.0);
Tailwind
colors: {
  custom: {
    50: '#bc6dc8',
    500: '#9a22af',
    950: '#000000',
  },
}
SCSS
$custom: #9a22af;
$custom-light: #bc6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a22af",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 291.064,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50966,
    "c": 0.21803,
    "h": 321
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#9A22AF
secondary
#74C865
accent
#EA3D57
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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