#9A20A0#9A20A0

#9A20A0 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.208 H 326.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9A20A0
RGBrgb(154, 32, 160)
HSLhsl(297, 67%, 38%)
HSVhsv(297, 80%, 63%)
CMYKcmyk(3.8%, 80%, 0%, 37.3%)
CIE-LABlab(38.63, 62.87, -41.77)
CIE-LCHlch(38.63, 75.48, 326.40°)
OKLaboklab(49.86% 0.1724 -0.1163)
OKLCHoklch(49.86% 0.208 326)
XYZxyz(20.1877, 10.4425, 34.2032)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A20A0 #26A020
analogous
#5A20A0 #9A20A0 #A02066
triadic
#9A20A0 #A09A20 #20A09A
tetradic
#9A20A0 #A05A20 #26A020 #2066A0
square
#9A20A0 #A05A20 #26A020 #2066A0
split-complementary
#9A20A0 #66A020 #20A05A
monochromatic
#380C3A #69166D #9A20A0 #CB2AD3 #D85CDE

Accessibility & contrast

On white

6.80
#9A20A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9A20A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A20A0
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A20A0#FFFFFF#000000##FFFFFF
##9A20A01.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#40609D
Tritanopia (blue-blind)
#9E3861
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a20a0;
/* rgb */ color: rgb(154, 32, 160);
/* oklch */ color: oklch(49.9% 0.208 326.0);
Tailwind
colors: {
  custom: {
    50: '#bc6cbd',
    500: '#9a20a0',
    950: '#000000',
  },
}
SCSS
$custom: #9a20a0;
$custom-light: #bc6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a20a0",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 297.188,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.20799,
    "h": 326
  },
  "luminance": 0.10441
}

Semantic roles & 50–950 ramp

primary
#9A20A0
secondary
#5EC359
accent
#EA3E46
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9A20A0

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

Preview Lab → · Contrast checker → · Palette generator →

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