#9F22BD#9F22BD

#9F22BD is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.7% C 0.231 H 318.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9F22BD
RGBrgb(159, 34, 189)
HSLhsl(288, 70%, 44%)
HSVhsv(288, 82%, 74%)
CMYKcmyk(15.9%, 82%, 0%, 25.9%)
CIE-LABlab(41.52, 68.35, -54.33)
CIE-LCHlch(41.52, 87.31, 321.52°)
OKLaboklab(52.65% 0.1732 -0.1529)
OKLCHoklch(52.65% 0.231 318.6)
XYZxyz(24.0541, 12.1903, 49.2202)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F22BD #40BD22
analogous
#5122BD #9F22BD #BD228D
triadic
#9F22BD #BD9F22 #22BD9F
tetradic
#9F22BD #BD5122 #40BD22 #228DBD
square
#9F22BD #BD5122 #40BD22 #228DBD
split-complementary
#9F22BD #8DBD22 #22BD51
monochromatic
#480F55 #731989 #9F22BD #BE40DD #D073E6

Accessibility & contrast

On white

6.11
#9F22BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9F22BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F22BD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F22BD#FFFFFF#000000##FFFFFF
##9F22BD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#9E4772
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f22bd;
/* rgb */ color: rgb(159, 34, 189);
/* oklch */ color: oklch(52.7% 0.231 318.6);
Tailwind
colors: {
  custom: {
    50: '#c06ed2',
    500: '#9f22bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f22bd;
$custom-light: #c06ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f22bd",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 288.387,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52654,
    "c": 0.23105,
    "h": 318.6
  },
  "luminance": 0.12189
}

Semantic roles & 50–950 ramp

primary
#9F22BD
secondary
#80CD6E
accent
#EC3B5E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9F22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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