#9F22BC#9F22BC

#9F22BC is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.6% C 0.230 H 318.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9F22BC
RGBrgb(159, 34, 188)
HSLhsl(289, 69%, 44%)
HSVhsv(289, 82%, 74%)
CMYKcmyk(15.4%, 81.9%, 0%, 26.3%)
CIE-LABlab(41.45, 68.17, -53.85)
CIE-LCHlch(41.45, 86.87, 321.69°)
OKLaboklab(52.59% 0.1734 -0.1515)
OKLCHoklch(52.59% 0.23 318.8)
XYZxyz(23.9460, 12.1470, 48.6505)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F22BC #3FBC22
analogous
#5222BC #9F22BC #BC228C
triadic
#9F22BC #BC9F22 #22BC9F
tetradic
#9F22BC #BC5222 #3FBC22 #228CBC
square
#9F22BC #BC5222 #3FBC22 #228CBC
split-complementary
#9F22BC #8CBC22 #22BC52
monochromatic
#470F54 #731988 #9F22BC #BF3FDC #D073E6

Accessibility & contrast

On white

6.12
#9F22BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9F22BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F22BC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F22BC#FFFFFF#000000##FFFFFF
##9F22BC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#9E4671
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f22bc;
/* rgb */ color: rgb(159, 34, 188);
/* oklch */ color: oklch(52.6% 0.230 318.8);
Tailwind
colors: {
  custom: {
    50: '#c06ed1',
    500: '#9f22bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f22bc;
$custom-light: #c06ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f22bc",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 288.701,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.23025,
    "h": 318.8
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#9F22BC
secondary
#7FCD6D
accent
#EC3C5D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9F22BC

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

Preview Lab → · Contrast checker → · Palette generator →

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