#9B20A5#9B20A5

#9B20A5 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.212 H 324.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9B20A5
RGBrgb(155, 32, 165)
HSLhsl(295, 68%, 39%)
HSVhsv(295, 81%, 65%)
CMYKcmyk(6.1%, 80.6%, 0%, 35.3%)
CIE-LABlab(39.10, 63.91, -44.01)
CIE-LCHlch(39.10, 77.60, 325.45°)
OKLaboklab(50.33% 0.1731 -0.1228)
OKLCHoklch(50.33% 0.212 324.7)
XYZxyz(20.8251, 10.7196, 36.5622)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B20A5 #2AA520
analogous
#5820A5 #9B20A5 #A5206C
triadic
#9B20A5 #A59B20 #20A59B
tetradic
#9B20A5 #A55820 #2AA520 #206CA5
square
#9B20A5 #A55820 #2AA520 #206CA5
split-complementary
#9B20A5 #6CA520 #20A558
monochromatic
#3B0C3E #6B1672 #9B20A5 #C92CD6 #D65FE0

Accessibility & contrast

On white

6.68
#9B20A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9B20A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B20A5
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B20A5#FFFFFF#000000##FFFFFF
##9B20A51.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#3D61A2
Tritanopia (blue-blind)
#9E3B63
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b20a5;
/* rgb */ color: rgb(155, 32, 165);
/* oklch */ color: oklch(50.3% 0.212 324.7);
Tailwind
colors: {
  custom: {
    50: '#bd6cc0',
    500: '#9b20a5',
    950: '#000000',
  },
}
SCSS
$custom: #9b20a5;
$custom-light: #bd6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b20a5",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 295.489,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50326,
    "c": 0.21227,
    "h": 324.7
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#9B20A5
secondary
#64C55C
accent
#EA3D4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9B20A5

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

Preview Lab → · Contrast checker → · Palette generator →

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