#9520A9#9520A9

#9520A9 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.213 H 321.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9520A9
RGBrgb(149, 32, 169)
HSLhsl(291, 68%, 39%)
HSVhsv(291, 81%, 66%)
CMYKcmyk(11.8%, 81.1%, 0%, 33.7%)
CIE-LABlab(38.35, 63.46, -47.66)
CIE-LCHlch(38.35, 79.36, 323.09°)
OKLaboklab(49.69% 0.1659 -0.1337)
OKLCHoklch(49.69% 0.213 321.1)
XYZxyz(20.0716, 10.2883, 38.4570)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9520A9 #34A920
analogous
#5120A9 #9520A9 #A92079
triadic
#9520A9 #A99520 #20A995
tetradic
#9520A9 #A95120 #34A920 #2079A9
square
#9520A9 #A95120 #34A920 #2079A9
split-complementary
#9520A9 #79A920 #20A951
monochromatic
#3A0D42 #681676 #9520A9 #BF2FD8 #CF62E1

Accessibility & contrast

On white

6.87
#9520A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9520A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9520A9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9520A9#FFFFFF#000000##FFFFFF
##9520A91.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#963E66
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9520a9;
/* rgb */ color: rgb(149, 32, 169);
/* oklch */ color: oklch(49.7% 0.213 321.1);
Tailwind
colors: {
  custom: {
    50: '#b86bc3',
    500: '#9520a9',
    950: '#000000',
  },
}
SCSS
$custom: #9520a9;
$custom-light: #b86bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9520a9",
  "rgb": {
    "r": 149,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 291.241,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.21301,
    "h": 321.1
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#9520A9
secondary
#6EC65F
accent
#EB3D56
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9520A9

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

Preview Lab → · Contrast checker → · Palette generator →

#9520A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva