#9F20A6#9F20A6

#9F20A6 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.215 H 325.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9F20A6
RGBrgb(159, 32, 166)
HSLhsl(297, 68%, 39%)
HSVhsv(297, 81%, 65%)
CMYKcmyk(4.2%, 80.7%, 0%, 34.9%)
CIE-LABlab(39.85, 64.86, -43.38)
CIE-LCHlch(39.85, 78.03, 326.23°)
OKLaboklab(51% 0.1775 -0.1209)
OKLCHoklch(51% 0.215 325.7)
XYZxyz(21.6971, 11.1586, 37.0800)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F20A6 #27A620
analogous
#5C20A6 #9F20A6 #A6206A
triadic
#9F20A6 #A69F20 #20A69F
tetradic
#9F20A6 #A65C20 #27A620 #206AA6
square
#9F20A6 #A65C20 #27A620 #206AA6
split-complementary
#9F20A6 #6AA620 #20A65C
monochromatic
#3D0C3F #6E1673 #9F20A6 #CE2DD6 #DA60E0

Accessibility & contrast

On white

6.50
#9F20A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9F20A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F20A6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F20A6#FFFFFF#000000##FFFFFF
##9F20A61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#A33A64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f20a6;
/* rgb */ color: rgb(159, 32, 166);
/* oklch */ color: oklch(51.0% 0.215 325.7);
Tailwind
colors: {
  custom: {
    50: '#bf6dc1',
    500: '#9f20a6',
    950: '#000000',
  },
}
SCSS
$custom: #9f20a6;
$custom-light: #bf6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f20a6",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 296.866,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51002,
    "c": 0.21472,
    "h": 325.7
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#9F20A6
secondary
#62C55D
accent
#EB3D46
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F20A6

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

Preview Lab → · Contrast checker → · Palette generator →

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