#9A20A6#9A20A6

#9A20A6 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.213 H 324.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9A20A6
RGBrgb(154, 32, 166)
HSLhsl(295, 68%, 39%)
HSVhsv(295, 81%, 65%)
CMYKcmyk(7.2%, 80.7%, 0%, 34.9%)
CIE-LABlab(39.00, 63.89, -44.78)
CIE-LCHlch(39.00, 78.02, 324.97°)
OKLaboklab(50.24% 0.1719 -0.1251)
OKLCHoklch(50.24% 0.213 324)
XYZxyz(20.7253, 10.6576, 37.0345)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A20A6 #2CA620
analogous
#5720A6 #9A20A6 #A6206F
triadic
#9A20A6 #A69A20 #20A69A
tetradic
#9A20A6 #A65720 #2CA620 #206FA6
square
#9A20A6 #A65720 #2CA620 #206FA6
split-complementary
#9A20A6 #6FA620 #20A657
monochromatic
#3B0C3F #6A1673 #9A20A6 #C72DD6 #D560E0

Accessibility & contrast

On white

6.71
#9A20A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9A20A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A20A6
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A20A6#FFFFFF#000000##FFFFFF
##9A20A61.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#3B61A3
Tritanopia (blue-blind)
#9D3B64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a20a6;
/* rgb */ color: rgb(154, 32, 166);
/* oklch */ color: oklch(50.2% 0.213 324.0);
Tailwind
colors: {
  custom: {
    50: '#bc6cc1',
    500: '#9a20a6',
    950: '#000000',
  },
}
SCSS
$custom: #9a20a6;
$custom-light: #bc6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a20a6",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 294.627,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.21263,
    "h": 324
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#9A20A6
secondary
#66C55D
accent
#EB3D4D
background
#FCF6FB
surface
#F8ECF7
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9A20A6

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

Preview Lab → · Contrast checker → · Palette generator →

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