#9B20A7#9B20A7

#9B20A7 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.214 H 324.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9B20A7
RGBrgb(155, 32, 167)
HSLhsl(295, 68%, 39%)
HSVhsv(295, 81%, 65%)
CMYKcmyk(7.2%, 80.8%, 0%, 34.5%)
CIE-LABlab(39.23, 64.25, -45.00)
CIE-LCHlch(39.23, 78.45, 324.99°)
OKLaboklab(50.46% 0.173 -0.1257)
OKLCHoklch(50.46% 0.214 324)
XYZxyz(21.0085, 10.7930, 37.5284)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B20A7 #2CA720
analogous
#5820A7 #9B20A7 #A72070
triadic
#9B20A7 #A79B20 #20A79B
tetradic
#9B20A7 #A75820 #2CA720 #2070A7
square
#9B20A7 #A75820 #2CA720 #2070A7
split-complementary
#9B20A7 #70A720 #20A758
monochromatic
#3C0C40 #6B1674 #9B20A7 #C82DD7 #D561E1

Accessibility & contrast

On white

6.65
#9B20A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9B20A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B20A7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B20A7#FFFFFF#000000##FFFFFF
##9B20A71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#3C61A4
Tritanopia (blue-blind)
#9E3C65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b20a7;
/* rgb */ color: rgb(155, 32, 167);
/* oklch */ color: oklch(50.5% 0.214 324.0);
Tailwind
colors: {
  custom: {
    50: '#bd6cc2',
    500: '#9b20a7',
    950: '#000000',
  },
}
SCSS
$custom: #9b20a7;
$custom-light: #bd6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b20a7",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 294.667,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50455,
    "c": 0.21382,
    "h": 324
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#9B20A7
secondary
#67C55D
accent
#EB3D4D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9B20A7

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

Preview Lab → · Contrast checker → · Palette generator →

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