#9520A6#9520A6

#9520A6 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.211 H 322.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9520A6
RGBrgb(149, 32, 166)
HSLhsl(292, 68%, 39%)
HSVhsv(292, 81%, 65%)
CMYKcmyk(10.2%, 80.7%, 0%, 34.9%)
CIE-LABlab(38.16, 62.93, -46.18)
CIE-LCHlch(38.16, 78.05, 323.73°)
OKLaboklab(49.48% 0.1662 -0.1293)
OKLCHoklch(49.48% 0.211 322.1)
XYZxyz(19.7931, 10.1769, 36.9908)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9520A6 #31A620
analogous
#5220A6 #9520A6 #A62074
triadic
#9520A6 #A69520 #20A695
tetradic
#9520A6 #A65220 #31A620 #2074A6
square
#9520A6 #A65220 #31A620 #2074A6
split-complementary
#9520A6 #74A620 #20A652
monochromatic
#390C3F #671673 #9520A6 #C12DD6 #D060E0

Accessibility & contrast

On white

6.92
#9520A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9520A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9520A6
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9520A6#FFFFFF#000000##FFFFFF
##9520A61.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#973D64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9520a6;
/* rgb */ color: rgb(149, 32, 166);
/* oklch */ color: oklch(49.5% 0.211 322.1);
Tailwind
colors: {
  custom: {
    50: '#b86bc1',
    500: '#9520a6',
    950: '#000000',
  },
}
SCSS
$custom: #9520a6;
$custom-light: #b86bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9520a6",
  "rgb": {
    "r": 149,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 292.388,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49484,
    "c": 0.21061,
    "h": 322.1
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#9520A6
secondary
#6AC55D
accent
#EB3D53
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9520A6

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

Preview Lab → · Contrast checker → · Palette generator →

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