#9A22CA#9A22CA

#9A22CA is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.9% C 0.240 H 313.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9A22CA
RGBrgb(154, 34, 202)
HSLhsl(283, 71%, 46%)
HSVhsv(283, 83%, 79%)
CMYKcmyk(23.8%, 83.2%, 0%, 20.8%)
CIE-LABlab(41.66, 69.94, -61.73)
CIE-LCHlch(41.66, 93.28, 318.57°)
OKLaboklab(52.89% 0.1644 -0.1748)
OKLCHoklch(52.89% 0.24 313.2)
XYZxyz(24.5572, 12.2792, 56.9422)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A22CA #52CA22
analogous
#4622CA #9A22CA #CA22A6
triadic
#9A22CA #CA9A22 #22CA9A
tetradic
#9A22CA #CA4622 #52CA22 #22A6CA
square
#9A22CA #CA4622 #52CA22 #22A6CA
split-complementary
#9A22CA #A6CA22 #22CA46
monochromatic
#4A1061 #721996 #9A22CA #B549E0 #CA7DE9

Accessibility & contrast

On white

6.08
#9A22CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9A22CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A22CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A22CA#FFFFFF#000000##FFFFFF
##9A22CA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#954E79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a22ca;
/* rgb */ color: rgb(154, 34, 202);
/* oklch */ color: oklch(52.9% 0.240 313.2);
Tailwind
colors: {
  custom: {
    50: '#bd6edb',
    500: '#9a22ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a22ca;
$custom-light: #bd6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a22ca",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 282.857,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.23999,
    "h": 313.2
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#9A22CA
secondary
#90D177
accent
#EE3A6D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9A22CA

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

Preview Lab → · Contrast checker → · Palette generator →

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