#9A20C3#9A20C3

#9A20C3 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.2% C 0.236 H 315.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9A20C3
RGBrgb(154, 32, 195)
HSLhsl(285, 72%, 45%)
HSVhsv(285, 84%, 76%)
CMYKcmyk(21%, 83.6%, 0%, 23.5%)
CIE-LABlab(40.97, 69.12, -58.77)
CIE-LCHlch(40.97, 90.73, 319.63°)
OKLaboklab(52.25% 0.1673 -0.1661)
OKLCHoklch(52.25% 0.236 315.2)
XYZxyz(23.6916, 11.8441, 52.6573)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A20C3 #49C320
analogous
#4920C3 #9A20C3 #C3209B
triadic
#9A20C3 #C39A20 #20C39A
tetradic
#9A20C3 #C34920 #49C320 #209BC3
square
#9A20C3 #C34920 #49C320 #209BC3
split-complementary
#9A20C3 #9BC320 #20C349
monochromatic
#470F5A #70178E #9A20C3 #B840E0 #CB75E8

Accessibility & contrast

On white

6.23
#9A20C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9A20C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A20C3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A20C3#FFFFFF#000000##FFFFFF
##9A20C31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#1363C0
Tritanopia (blue-blind)
#964A75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a20c3;
/* rgb */ color: rgb(154, 32, 195);
/* oklch */ color: oklch(52.2% 0.236 315.2);
Tailwind
colors: {
  custom: {
    50: '#bd6dd6',
    500: '#9a20c3',
    950: '#000000',
  },
}
SCSS
$custom: #9a20c3;
$custom-light: #bd6dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a20c3",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 284.908,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52246,
    "c": 0.23574,
    "h": 315.2
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#9A20C3
secondary
#88CF6F
accent
#EF3967
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9A20C3

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

Preview Lab → · Contrast checker → · Palette generator →

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