#9F22A0#9F22A0

#9F22A0 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.208 H 327.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9F22A0
RGBrgb(159, 34, 160)
HSLhsl(300, 65%, 38%)
HSVhsv(300, 79%, 63%)
CMYKcmyk(0.6%, 78.8%, 0%, 37.3%)
CIE-LABlab(39.67, 63.33, -40.05)
CIE-LCHlch(39.67, 74.94, 327.69°)
OKLaboklab(50.76% 0.1763 -0.1112)
OKLCHoklch(50.76% 0.208 327.8)
XYZxyz(21.2150, 11.0546, 34.2673)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F22A0 #23A022
analogous
#6022A0 #9F22A0 #A02262
triadic
#9F22A0 #A09F22 #22A09F
tetradic
#9F22A0 #A06022 #23A022 #2262A0
square
#9F22A0 #A06022 #23A022 #2262A0
split-complementary
#9F22A0 #62A022 #22A060
monochromatic
#3B0D3B #6D176E #9F22A0 #D12DD2 #DC5FDD

Accessibility & contrast

On white

6.54
#9F22A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F22A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F22A0
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F22A0#FFFFFF#000000##FFFFFF
##9F22A01.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#46639D
Tritanopia (blue-blind)
#A43861
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f22a0;
/* rgb */ color: rgb(159, 34, 160);
/* oklch */ color: oklch(50.8% 0.208 327.8);
Tailwind
colors: {
  custom: {
    50: '#bf6dbc',
    500: '#9f22a0',
    950: '#000000',
  },
}
SCSS
$custom: #9f22a0;
$custom-light: #bf6dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f22a0",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 299.524,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50763,
    "c": 0.20844,
    "h": 327.8
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#9F22A0
secondary
#5DC25C
accent
#E84041
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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