#9F22A9#9F22A9

#9F22A9 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.215 H 324.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9F22A9
RGBrgb(159, 34, 169)
HSLhsl(296, 67%, 40%)
HSVhsv(296, 80%, 66%)
CMYKcmyk(5.9%, 79.9%, 0%, 33.7%)
CIE-LABlab(40.21, 64.83, -44.58)
CIE-LCHlch(40.21, 78.68, 325.49°)
OKLaboklab(51.32% 0.1758 -0.1244)
OKLCHoklch(51.32% 0.215 324.7)
XYZxyz(22.0310, 11.3810, 38.5648)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F22A9 #2CA922
analogous
#5C22A9 #9F22A9 #A9226F
triadic
#9F22A9 #A99F22 #22A99F
tetradic
#9F22A9 #A95C22 #2CA922 #226FA9
square
#9F22A9 #A95C22 #2CA922 #226FA9
split-complementary
#9F22A9 #6FA922 #22A95C
monochromatic
#3F0D43 #6F1876 #9F22A9 #CA32D6 #D765E0

Accessibility & contrast

On white

6.41
#9F22A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9F22A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F22A9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F22A9#FFFFFF#000000##FFFFFF
##9F22A91.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#4064A6
Tritanopia (blue-blind)
#A23D66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f22a9;
/* rgb */ color: rgb(159, 34, 169);
/* oklch */ color: oklch(51.3% 0.215 324.7);
Tailwind
colors: {
  custom: {
    50: '#bf6dc3',
    500: '#9f22a9',
    950: '#000000',
  },
}
SCSS
$custom: #9f22a9;
$custom-light: #bf6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f22a9",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 295.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51322,
    "c": 0.21532,
    "h": 324.7
  },
  "luminance": 0.1138
}

Semantic roles & 50–950 ramp

primary
#9F22A9
secondary
#69C561
accent
#E93E4B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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