#9A22A0#9A22A0

#9A22A0 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.206 H 326.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9A22A0
RGBrgb(154, 34, 160)
HSLhsl(297, 65%, 38%)
HSVhsv(297, 79%, 63%)
CMYKcmyk(3.8%, 78.8%, 0%, 37.3%)
CIE-LABlab(38.82, 62.31, -41.47)
CIE-LCHlch(38.82, 74.85, 326.36°)
OKLaboklab(49.99% 0.1709 -0.1154)
OKLCHoklch(49.99% 0.206 326)
XYZxyz(20.2432, 10.5535, 34.2217)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A22A0 #28A022
analogous
#5B22A0 #9A22A0 #A02267
triadic
#9A22A0 #A09A22 #22A09A
tetradic
#9A22A0 #A05B22 #28A022 #2267A0
square
#9A22A0 #A05B22 #28A022 #2267A0
split-complementary
#9A22A0 #67A022 #22A05B
monochromatic
#390D3B #69176E #9A22A0 #CA2DD2 #D75FDD

Accessibility & contrast

On white

6.75
#9A22A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9A22A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A22A0
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A22A0#FFFFFF#000000##FFFFFF
##9A22A01.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#41609D
Tritanopia (blue-blind)
#9E3961
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a22a0;
/* rgb */ color: rgb(154, 34, 160);
/* oklch */ color: oklch(50.0% 0.206 326.0);
Tailwind
colors: {
  custom: {
    50: '#bc6cbd',
    500: '#9a22a0',
    950: '#000000',
  },
}
SCSS
$custom: #9a22a0;
$custom-light: #bc6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a22a0",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 297.143,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49993,
    "c": 0.20621,
    "h": 326
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#9A22A0
secondary
#61C25C
accent
#E84048
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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